question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use `pandas` or `astropy.tables` in Lightcurve?

See original GitHub issue

There 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
abigailStevcommented, Mar 25, 2016

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

0reactions
matteobachetticommented, Jan 18, 2021

@dhuppenkothen I think we should pin this and think about the use of Astropy’s timeseries objects

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found