Use `pandas` or `astropy.tables` in Lightcurve?
See original GitHub issueThere was a suggestion today to use either pandas
or astropy.tables
within the Lightcurve
class. pandas
has the advantage that it has lots of functionality built-in.
astropy.tables
has the advantage that it connects to other useful astropy
concepts such as units and time concepts (which might allow us to provide time conversions more easily).
Not something that needs to be fixed instantaneously, more a call for discussion.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Time Series (astropy.timeseries)
Downsample a time series by binning values into bins with a fixed size or custom sizes, using a single function to combine the...
Read more >lightkurve.LightCurve
Subclass of AstroPy Table guaranteed to have time, flux, and flux_err columns. Compared to the generic TimeSeries class, LightCurve ensures that each object ......
Read more >Handling Data over time - | notebook.community
Use the pandas dataframe to plot the data within it. SunPy Lightcurve. SunPy provides a lightcurve object to handle this type of time...
Read more >FlareLightCurve — AltaiPony 2.0.0 documentation
from_pandas (df[, time_scale]), Convert a DataFrame to a astropy.timeseries.TimeSeries . from_stingray (lc), Create a new LightCurve from a stingray.
Read more >astropy.table: should join, hstack, vstack be methods instead ...
I use a custom class that is derived from astropy.table. ... Each row in the table is one object, and the lightcurves for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Keep an eye on this astropy feature request for a time series module based on astropy tables: https://github.com/astropy/astropy-APEs/pull/12
@dhuppenkothen I think we should pin this and think about the use of Astropy’s timeseries objects