SWAVESSpectrogram#

class radiospectra.spectrogram.SWAVESSpectrogram(data, meta, **kwargs)[source]#

Bases: GenericSpectrogram

STEREO Waves or S/WAVES, SWAVES Spectrogram.

Examples

>>> import radiospectra.net
>>> from sunpy.net import Fido, attrs as a
>>> from radiospectra.spectrogram import Spectrogram
>>> from radiospectra.net import attrs as ra
>>> query = Fido.search(a.Time('2019/10/05 23:00', '2019/10/06 00:59'),
...                     a.Instrument('SWAVES'))
>>> downloaded = Fido.fetch(query[1][0])
>>> spec = Spectrogram(downloaded[0])
>>> spec
<SWAVESSpectrogram STEREO A, SWAVES, LFR 2.6 kHz - 153.4 kHz, 2019-10-05T00:00:00.000 to 2019-10-05T23:59:00.000>
>>> spec.plot()
<matplotlib.collections.QuadMesh object at ...>

Attributes Summary

detector

The detector which recorded the spectrogram.

end_time

The end time of the spectrogram.

frequencies

The frequencies of the spectrogram.

instrument

The name of the instrument which recorded the spectrogram.

observatory

The name of the observatory which recorded the spectrogram.

receiver

The name of the receiver.

start_time

The start time of the spectrogram.

times

The times of the spectrogram.

wavelength

The wavelength range of the spectrogram.

Methods Summary

is_datasource_for(data, meta, **kwargs)

plot([axes])

Plot the spectrogram.

plotim([fig, axes])

Attributes Documentation

detector#

The detector which recorded the spectrogram.

end_time#

The end time of the spectrogram.

frequencies#

The frequencies of the spectrogram.

instrument#

The name of the instrument which recorded the spectrogram.

observatory#

The name of the observatory which recorded the spectrogram.

receiver#

The name of the receiver.

start_time#

The start time of the spectrogram.

times#

The times of the spectrogram.

wavelength#

The wavelength range of the spectrogram.

Methods Documentation

classmethod is_datasource_for(data, meta, **kwargs)[source]#
plot(axes=None, **kwargs)#

Plot the spectrogram.

Parameters:
Return type:

matplotlib.collections.QuadMesh

plotim(fig=None, axes=None, **kwargs)#