headerkwinst

raccoon.harpsutils.headerkwinst(inst, outfail=nan)

Get the corresponding start of the header keywords depending on the instrument: - for HARPS, the keywords start with ‘HIERARCH ESO…’ - for HARPS-N, the keywords start with ‘HIERARCH TNG…’ If fail, return outfail, which by default is NaN.

Parameters:
inst{‘harpn’, ‘harps’}
Returns:
kwinst{‘HIERARCH TNG ‘, ‘HIERARCH ESO ‘}