instrument_response

instrument_response#

excalibuhr.utils.instrument_response(std, tellu, temp, vsini, vsys=0.0, mask_wave=[], debug=False)[source]#

Method for calibrating spectral shape using standard star observations.

Parameters:
  • std (SPEC) – spectrum of the observed standard star

  • tellu (ndarray) – telluric transmission template with wavelength on the first column and transmission on the second

  • temp (int) – effective temperature of the standard star

  • vsini (float) – rotational broadenning of the standard star

  • vsys (float) – systemic and barycentric velocity correction for the standard star

  • mask_wave (list of tuple) – list of lower and upper limit for wavelength ranges (in nm) that need to be masked when estimating the isntrument response. They are usually Hydrogen lines of the stellar spectrum.