Correct the wavelengths of all pixels of a given pixel table for radial velocity shift.
- Parameters
-
aPixtable | the input pixel table to correct for DAR |
aType | type of velocity correction to perform |
- Returns
- CPL_ERROR_NONE on success another CPL error code on failure
- Exceptions
-
return CPL_ERROR_NULL_INPUT | the input pixel table and/or one of its components are NULL |
output info message, skip the correction, return CPL_ERROR_NONE | the input pixel table was already corrected for non-zero radial velocity |
return CPL_ERROR_ILLEGAL_INPUT | an unknown aType was given |
Definition at line 120 of file muse_rvcorrect.c.
References muse_astro_rvcorr::bary, muse_astro_rvcorr::geo, muse_pixtable::header, muse_astro_rvcorr::helio, muse_astro_rvcorr_compute(), MUSE_HDR_PT_RVCORR, muse_pixtable_get_nrow(), MUSE_PIXTABLE_LAMBDA, and muse_pixtable::table.
Referenced by muse_postproc_process_exposure().