Closed pythonPleiades closed 7 months ago
Hi, yes you can! You can read in the CSV data in Python, either manually parsing the file or using function from numpy or pandas. Make separate arrays for the time column (in units of days), flux, and flux_err (optional). Then construct a lightkurve.LightCurve object to pass to Pyriod:
lc = lk.LightCurve(time = time, flux = flux, flux_err = flux_err)
pyriod = Pyriod(lc)
Excellent package and tutorials. Instead of using lightkurve package to import dataset (which is a must in the tutorial), is there a way to open CSV file so we can use Pyriod with AAVSO database? Cheers