ebachelet / pyLIMA

GNU General Public License v3.0
31 stars 8 forks source link

Toolbox additions yt #80

Open ytsapras opened 7 months ago

ytsapras commented 7 months ago

I have added _examinelightcurve.py and _binlightcurve.py in the toolbox/ directory. Both can be executed from the command line.

_examinelightcurve.py allows the user to browse a single light curve (given a .csv) and interactively mark points for masking. Pressing 't' returns a list of the indexes of these points in the prompt.

_binlightcurve.py allows the user to bin a single light curve (given a .csv). The default bin size is one day, but it can also be specified by the user.

Appropriate unit tests have been added to tests/test_toolbox.py