refraction_coefficients

rubin_sim.utils.refraction_coefficients(wavelength=0.5, site=None)

Calculate the refraction using PAL’s refco routine

This calculates the refraction at 2 angles and derives a tanz and tan^3z coefficient for subsequent quick calculations. Good for zenith distances < 76 degrees

@param [in] wavelength is effective wavelength in microns (default 0.5)

@param [in] site is an instantiation of the Site class defined in sims_utils/../Site.py

One should call PAL refz to apply the coefficients calculated here