NDASpectrogram#

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

Bases: GenericSpectrogram

Nançay Decameter Array (NDA) Spectrogram.

This spectrogram supports data in the NewRoutine format 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

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 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

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