LSF
- class dysmalpy.instrument.LSF(dispersion=None, default_unit=Unit('km / s'), meta=None)[source]
Bases:
Quantity
An object to handle line spread functions.
Create a new Gaussian Line Spread Function
- Parameters:
Attributes Summary
Methods Summary
as_velocity_kernel
(velstep, **kwargs)Return a Gaussian convolution kernel in velocity space
as_wave_kernel
(wavestep, wavecenter, **kwargs)Return a Gaussian convolution kernel in wavelength space
vel_to_lambda
(wave)Convert from velocity dispersion to wavelength dispersion for a given central wavelength.
Attributes Documentation
- dispersion
Methods Documentation
- as_velocity_kernel(velstep, **kwargs)[source]
Return a Gaussian convolution kernel in velocity space
- Parameters:
velstep (
Quantity
) – Step size in velocity of one spectral channel- Returns:
vel_kern – Convolution kernel for the LSF in velocity space
- Return type:
1D array