Spectrum

class chia.Spectrum(wavelength, flux, header=None)[source] [edit on github]

Bases: object

Simple spectrum object.

Parameters
wavelengthndarray

Wavelengths in Angstroms

fluxndarray

Fluxes

Methods Summary

plot(self[, ax])

Plot the spectrum

Methods Documentation

plot(self, ax=None, **kwargs)[source] [edit on github]

Plot the spectrum

Parameters
axAxes (optional)

Axis object

kwargsdict

Keyword arguments to pass to the plot command

Returns
axaxis