wavevector

pydl.pydlspec2d.spec1d.wavevector(minfullwave, maxfullwave, zeropoint=3.5, binsz=0.0001, wavemin=None)[source]

Return an array of wavelengths.

Parameters
minfullwavefloat

Minimum wavelength.

maxfullwavefloat

Maximum wavelength.

zeropointfloat, optional

Offset of the input wavelength values.

binszfloat, optional

Separation between wavelength values.

waveminfloat, optional

If this is set the values of minfullwave and zeropoint are ignored.

Returns
numpy.ndarray

Depending on the values of minfullwave, binsz, etc., the resulting array could be interpreted as an array of wavelengths or an array of log(wavelength).