isadoranun / FATS

MIT License
75 stars 40 forks source link

broken unittest test_Stetson #9

Open ryanjmccall opened 6 years ago

ryanjmccall commented 6 years ago

FATS/test_library.py:286: a=a.calculateFeature(white_noise)

looks like the StetsonJ fit() function requires data[7] contain aligned error but the white_noise function doesn't generate it

vBazilevich commented 7 months ago

I came across the same issue. Based on AlignLC implementation which just selects measurements from both LCs which have the same MJD, aligned errors must be just a copies of the generated errors. Still, the test is failing.