XRSTimeSeries#
- class sunpy.timeseries.sources.XRSTimeSeries(data, meta=None, units=None, **kwargs)[source]#
Bases:
GenericTimeSeries
GOES XRS Time Series.
Each GOES satellite there are two X-ray Sensors (XRS) which provide solar X ray fluxes for the wavelength bands of 0.5 to 4 Å (short channel) sand 1 to 8 Å (long channel). Most recent data is usually available one or two days late.
Data is available starting on 1981/01/01.
Examples
>>> import sunpy.timeseries >>> import sunpy.data.sample >>> goes = sunpy.timeseries.TimeSeries(sunpy.data.sample.GOES_XRS_TIMESERIES) >>> goes.peek()
References
Notes
Attributes Summary
Retrieves the goes satellite number by parsing the meta dictionary.
Methods Summary
is_datasource_for
(**kwargs)Determines if header corresponds to a GOES lightcurve
TimeSeries
.plot
([axes, columns])Plots the GOES XRS light curve.
Attributes Documentation
- observatory#
Retrieves the goes satellite number by parsing the meta dictionary.
Methods Documentation
- classmethod is_datasource_for(**kwargs)[source]#
Determines if header corresponds to a GOES lightcurve
TimeSeries
.
- plot(axes=None, columns=None, **kwargs)[source]#
Plots the GOES XRS light curve.
- Parameters:
axes (
matplotlib.axes.Axes
, optional) – The axes on which to plot the TimeSeries. Defaults to current axes.columns (list[str], optional) – If provided, only plot the specified columns.
**kwargs (
dict
) – Additional plot keyword arguments that are handed toplot
functions.
- Returns:
Axes
– The plot axes.