Skip to content

Structure Function not end #6

Description

@leliel12

I found a big bug on the master code of FATS. with some light curves the StructureFunction_index_21 never ends. I attached a test case with the examples of a lightcurve from a VVV that make the feature fail. And also a screenshoot of my process monitor when i run the script

I suspect the error is a bad use of the numpy.trim_zero function. This functions only remove the leading and trailing zeros but with this light curve are some zeros in between

Test Case: https://gist.github.com/leliel12/a3ee1c0de5a7f2cf72100c99c220f05c

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions