wavevector¶
-
pydl.pydlspec2d.spec1d.wavevector(minfullwave, maxfullwave, zeropoint=3.5, binsz=0.0001, wavemin=None)[source]¶ Return an array of wavelengths.
Parameters: minfullwave :
floatMinimum wavelength.
maxfullwave :
floatMaximum wavelength.
zeropoint :
float, optionalOffset of the input wavelength values.
binsz :
float, optionalSeparation between wavelength values.
wavemin :
float, optionalIf this is set the values of
minfullwaveandzeropointare ignored.Returns: numpy.ndarrayDepending on the values of
minfullwave,binsz, etc., the resulting array could be interpreted as an array of wavelengths or an array of log(wavelength).