vega_spectrum

class sbpy.calib.vega_spectrum[source]

Bases: ScienceState

Get/set the sbpy default Vega spectrum.

To retrieve the current default:

>>> from sbpy.calib import vega_spectrum
>>> vega = vega_spectrum.get()

To change it: >>> with vega_spectrum.set(Vega.from_file(filename)) # doctest: +SKIP … # Vega from filename in effect … pass

Methods Summary

get()

Get the current science state value.

set(value)

Set the current science state value.

validate(value)

Methods Documentation

classmethod get()

Get the current science state value.

classmethod set(value)

Set the current science state value.

classmethod validate(value)[source]