Spectrum

class hipparchus.Spectrum(wavelength, flux, header=None)[source]

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]

Plot the spectrum

Parameters
axAxes (optional)

Axis object

kwargsdict

Keyword arguments to pass to the plot command

Returns
axaxis