RFSSpectrogram#

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

Bases: GenericSpectrogram

Parker Solar Probe FIELDS/Radio Frequency Spectrometer (RFS) Spectrogram.

>>> 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.rfs)
>>> downloaded = Fido.fetch(query[0][0])
>>> spec = Spectrogram(downloaded[0])
>>> spec
<RFSSpectrogram PSP, FIELDS/RFS, LFR 10.546879882812501 kHz - 1687.5 kHz, 2019-10-05T00:01:32.395 to 2019-10-05T22:16:30.493>
>>> 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.

level

observatory

The name of the observatory which recorded the spectrogram.

start_time

The start time of the spectrogram.

times

The times of the spectrogram.

version

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.

level#
observatory#

The name of the observatory which recorded the spectrogram.

start_time#

The start time of the spectrogram.

times#

The times of the spectrogram.

version#
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)#