ACID_code_v2.calc_deltav
- ACID_code_v2.calc_deltav(wavelengths: ACID_code_v2.utils.Array1D) ACID_code_v2.utils.Scalar[source]
Calculates velocity pixel size
Calculates the velocity pixel size for the LSD velocity grid based off the spectral wavelengths.
- Parameters:
wavelengths (np.ndarray) – 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