wpolycoeff

raccoon.harpsutils.wpolycoeff(filin, inst=None, ext=0)

From e2ds header get the polynomial coefficients necessary to transform from pixels to wavelength.

Parameters:
filinstr or astropy header object (astropy.io.fits.header.Header)

FITS file from which to read the header or astropy header object (faster if header already loaded before)

inst{‘harpn’, ‘harps’} or None (default)
# inst{‘harpn’, ‘harps’, ‘ESO’, ‘TNG’} or None (default)