ACID_code.calc_deltav
- ACID_code.calc_deltav(wavelengths: ACID_code.Array1D) ACID_code.Scalar[source]
Calculates velocity pixel size
Calculates the velocity pixel size for the LSD velocity grid based off the spectral wavelengths.
- Parameters:
wavelengths (
Array1D) – Wavelengths for Acid input spectrum (in Angstroms), must be a 1D array of positive values.- Returns:
Velocity pixel size in km/s
- Return type:
float