LYRATimeSeries#

class sunpy.timeseries.sources.LYRATimeSeries(data, meta=None, units=None, **kwargs)[source]#

Bases: GenericTimeSeries

Proba-2 LYRA Lightcurve TimeSeries.

LYRA (Large Yield RAdiometer) is an ultraviolet irradiance radiometer that observes the Sun in four passbands, chosen for their relevance to solar physics and space weather. LYRA is composed of three (redundant) units, each of them constituted of the same four channels:

  • 120-123 nm Lyman-alpha channel

  • 190-222 nm Herzberg continuum channel

  • Aluminium filter channel (17-80 nm + a contribution below 5 nm), including He II at 30.4 nm

  • Zirconium filter channel (6-20 nm + a contribution below 2 nm), rejecting He II

LYRA can take data with cadences chosen in the 100Hz to 0.1Hz interval.

PROBA2 was launched on 2 November 2009.

Examples

>>> import sunpy.timeseries
>>> import sunpy.data.sample  
>>> lyra = sunpy.timeseries.TimeSeries(sunpy.data.sample.LYRA_LEVEL3_TIMESERIES)  
>>> lyra.peek()   

References

Methods Summary

is_datasource_for(**kwargs)

Determines if the file corresponds to a LYRA LightCurve TimeSeries.

peek(*[, title, columns, names])

Displays the LYRA data by calling plot.

plot([axes, columns, names])

Plots the LYRA data.

Methods Documentation

classmethod is_datasource_for(**kwargs)[source]#

Determines if the file corresponds to a LYRA LightCurve TimeSeries.

peek(*, title=None, columns=None, names=3, **kwargs)[source]#

Displays the LYRA data by calling plot.

(Source code, png, hires.png, pdf)

../../_images/sunpy-timeseries-sources-LYRATimeSeries-1.png
Parameters:
  • title (str, optional) – The title of the plot.

  • columns (list[str], optional) – If provided, only plot the specified columns.

  • names (int, optional) – The number of columns to plot. Defaults to 3.

  • **kwargs (dict) – Additional plot keyword arguments that are handed to pandas.DataFrame.plot().

plot(axes=None, columns=None, names=3, **kwargs)[source]#

Plots the LYRA data.

Parameters:
  • axes (array of matplotlib.axes.Axes, optional) – The axes on which to plot the TimeSeries.

  • columns (list[str], optional) – If provided, only plot the specified columns.

  • names (int, optional) – The number of columns to plot. Defaults to 3.

  • **kwargs (dict) – Additional plot keyword arguments that are handed to plot functions.

Returns:

array of Axes – The plot axes.