SunPy spectra

Warning

The spectra module is being moved to an affiliated package, see spectra.

Overview

One of core classes in SunPy is a Spectrum and Spectrogram. These representing a spectrum as a specific point in time or one as a function of time, respectively. Individual instruments are supported through subclasses. To see what instrument are supported see Spectrum Classes and Spectrogram Classes.

Warning

This module is under development! Use at your own risk.

Spectrum

sunpy.spectra.spectrum Module

Classes

Spectrum(data, freq_axis)

Deprecated since version 0.8.

Class Inheritance Diagram

Inheritance diagram of sunpy.spectra.spectrum.Spectrum

Spectrum Classes

None yet.

Spectrogram

sunpy.spectra.spectrogram Module

Classes for spectral analysis.

Classes

Spectrogram(data, time_axis, freq_axis, …)

Deprecated since version 0.8.

LinearTimeSpectrogram(data, time_axis, …)

Deprecated since version 0.8.

Class Inheritance Diagram

Inheritance diagram of sunpy.spectra.spectrogram.Spectrogram, sunpy.spectra.spectrogram.LinearTimeSpectrogram

Spectrogram Classes

There are a series of subclasses which are specialised for each instrument.

sunpy.spectra.sources Package

Datasource-specific classes

This is where datasource specific logic is implemented. Each mission should have its own file with one or more classes defined.

Classes

CallistoSpectrogram(data, time_axis, …[, …]) Class used for dynamic spectra coming from the Callisto network.
SWavesSpectrogram(data, time_axis, …)

Class Inheritance Diagram

Inheritance diagram of sunpy.spectra.sources.callisto.CallistoSpectrogram, sunpy.spectra.sources.swaves.SWavesSpectrogram