feder-observatory / stellarphot

Stellar aperture photometry
https://stellarphot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

Add a conveniences method for `PhotometryData` #462

Closed mwcraig closed 1 month ago

mwcraig commented 1 month ago

Adding a to_lightcurve method that makes a LightCurve object from the lightkurve package would make PhotometryData much more useful. Those objects have methods for performing a periodogram (Lomb-Scargle or BLS), phase folding, plotting, etc. So lots of extra functionality without much effort on our part. A LightKurve object is a subclass of astropy's TimeSeries, so we get both for free.