NDASpectrogram#
- class radiospectra.spectrogram.NDASpectrogram(data, meta, **kwargs)[source]#
Bases:
GenericSpectrogramNançay Decameter Array (NDA) Spectrogram.
This spectrogram supports data in the
NewRoutineformat available here: https://cdn.obs-nancay.fr/repository/nda/newroutine/soleil/Frequencies range from approximately 10 MHz to 88 MHz. The data contains two polarization channels (LL and RR).
Examples
>>> import radiospectra.net >>> from sunpy.net import Fido, attrs as a >>> from radiospectra.spectrogram import Spectrogram >>> query = Fido.search(a.Time("2025-03-26", "2025-03-27"), a.Instrument("NDA")) >>> downloaded = Fido.fetch(query[0][0]) >>> spec = Spectrogram(downloaded[0]) >>> spec[0] <NDASpectrogram ORN, NDA, NEWROUTINE 10009.765625 kHz - 87988.28125 kHz, 2025-03-26T07:56:27.260 to 2025-03-26T15:55:59.892>
Attributes Summary
The detector which recorded the spectrogram.
The end time of the spectrogram.
The frequencies of the spectrogram.
The name of the instrument which recorded the spectrogram.
The name of the observatory which recorded the spectrogram.
The start time of the spectrogram.
The times of the spectrogram.
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.
- observatory_location#
- polarisation#
- start_time#
The start time of the spectrogram.
- times#
The times of the spectrogram.
- wavelength#
The wavelength range of the spectrogram.
Methods Documentation
- plot(axes=None, **kwargs)#
Plot the spectrogram.
- Parameters:
axes (
matplotlib.axes.Axes, optional) – The axes where the plot will be added.kwargs – Arguments pass to the plot call
pcolormesh.
- Return type:
- plotim(fig=None, axes=None, **kwargs)#