Skip to content

max_cc_value > 1.0 on some machines #8

@wjlei1990

Description

@wjlei1990

Hi,

I recently discover pyflex is generating max_cc_value > 1.0 on one window.

One one machine:

win1 = Window(left=1783, right=2032, center=1907, channel_id=IU.KBL..BHZ, max_cc_value=1.00000011921, cc_shift=0, dlnA=0.0)

It is just slightly larger than 1.0. I discovered it because I am using pytest to do some tests and I am comparing the results generating from another machine.

On another one(the benchmark result):

win2 = Window(left=1783, right=2032, center=1907, channel_id=IU.KBL..BHZ, max_cc_value=1.0, cc_shift=0, dlnA=0.0)

It is a bit strange since theoretically, max_cc_value should be =< 1.0. Not sure it is a machine precision issue, an numpy issue or algorithm issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions