vega_spectrum¶
- class sbpy.calib.vega_spectrum[source] [edit on github]¶
Bases:
ScienceStateGet/set the
sbpydefault 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() [edit on github]¶
Get the current science state value.
- classmethod set(value) [edit on github]¶
Set the current science state value.
- classmethod validate(value)[source] [edit on github]¶