Closed rachelbf closed 4 years ago
Can you provide a data file (or code that pulls the data) to reproduce?
Attached are two lightcurves (psf; extracted using eleanor) that are caused this error tic340003212.txt tic469811127.txt
Thank you for the bug report and sorry you're having issues with wotan. I made a fix in this file. It now works for your example files. Can you check if more extensively and let me know if it works in all cases? I would then push a new wotan version to pip.
I tested it on about 10 light curves with that initially gave me the same error as above. With the fix, I don't get the error anymore. Thanks!
I get these errors for certain lightcurves (e.g.: 357898147, 45059728) that have gaps in them that (I can visually see) are smaller than the break tolerance. The only time that this error goes away is if I set break_tolerance = 0 which leads it to fit the data downlink gaps in the sectors as well.