Closed caganze closed 7 years ago
Docstring: :Purpose: Shifts the wavelength scale by a radial velocity factor. This routine changes the underlying Spectrum object.
:Example:
import splat import astropy.units as u sp = splat.Spectrum(file='somespectrum',wunit=u.Angstrom) sp.wave.unit Unit("Angstrom") sp.toMicron() sp.wave.unit Unit("micron")
oops! fixed
Docstring: :Purpose: Shifts the wavelength scale by a radial velocity factor. This routine changes the underlying Spectrum object.
:Example: