One of core classes in SunPy is a LightCurve or timeseries. A number of instruments
are supported through subclasses of the base
To see Instrument LightCurve Classes for a list of all of them.
Creating a LightCurve¶
LightCurves can either be creating manually or automatically by downloading
their own data (the most common case). Too create a custom
see the example in the class documentation below. Subclasses of
for specific instrument provide their own methods for downloading their data.
For more information see Instrument LightCurve Classes.
Instrument LightCurve Classes¶
The generic method to create an instrument-specific LightCurve find the instrument subclass of interest and follow the following example:
>>> from sunpy.lightcurve import GOESLightCurve >>> from sunpy.time import TimeRange >>> tr = TimeRange('2013/07/21', '2013/07/22') >>> goes = GOESLightCurve.create(tr)
create method will go off and download the
data needed to populate the instance. The following instrument classes are supported.
SunPy’s LightCurve module provides a datatype for 1D time series data.
The objects also include data downloaders for their specific instruments, they also support instantiation from files such as csv.
||SDO EVE LightCurve for level 0CS data.|
||Fermi/GBM Summary Lightcurve.|
||GOES XRS LightCurve|
||Proba-2 LYRA LightCurve.|
||A generic light curve object.|
||Logical LightCurve with only True and False values.|
||NOAA Solar Cycle monthly indices.|
||NOAA Solar Cycle Predicted Progression|
||Nobeyama Radioheliograph Correlation LightCurve.|
||RHESSI X-ray Summary LightCurve.|
Class Inheritance Diagram¶