wavelength_to_doppler#

muse.synthesis.utils.wavelength_to_doppler(response)#

Add a Doppler-shift coordinate in km/s derived from wavelengths.

Parameters:

response (Dataset) – Must include SG_wvl and line_wvl coordinates.

Returns:

A new dataset with an added dopp_vel coordinate in km/s.

Return type:

Dataset