ekaterinailin / AltaiPony

Find flares in Kepler and TESS light curves. Notebooks for quickstart inside.
https://altaipony.readthedocs.io
MIT License
26 stars 10 forks source link

Add total observation time in candences and days to every FlareLightCurve.flares table #43

Closed ekaterinailin closed 4 years ago

ekaterinailin commented 5 years ago

What needs to be created or improved?

If you want to compute FFDs you need to know for how long the target on which you found a flare was observed. But you do not want to give a frequency immediately because you do not know a priori with how many flares in a light curve you will end up.

What is the goal / expected behaviour?

The number of cadences are saved and then converted to total observation time of the target. This number is stored in FlareLightCurve.flares['tot_obs_cad','tot_obs_time'].

ekaterinailin commented 4 years ago

Fixed by adding the _total_n_valid_datapoints column to the output table.