diff --git a/AstroAtmosphere/refractivityModels.py b/AstroAtmosphere/refractivityModels.py index c8577b0..3787ea0 100644 --- a/AstroAtmosphere/refractivityModels.py +++ b/AstroAtmosphere/refractivityModels.py @@ -36,9 +36,9 @@ def BarrellAndSears(l, T=288.15, p=101325, RH=0, f=None): ''' if f is None: f = RH * svp(T) - f_mmHg = hPA2mmHg(f/100) + f_mmHg = hPa2mmHg(f/100) T = K2C(T) - P = hPA2mmHg(p/100) + P = hPa2mmHg(p/100) R = (0.378125 + 0.0021414 / l**2 + 0.00001793 / l**4) * (P*(1 + (1.049 - 0.0157*T) * P * 1e-6)/(1 + 0.003661*T)) - (0.0624 - 0.000680 / l**2) * f_mmHg / (1 + 0.003661*T) n = R/1e6 + 1 return n @@ -55,6 +55,8 @@ def Ciddor(l, CO2=450): ---------- l : float Wavelength in microns + CO2 : float + CO2 density in parts per million Returns ------- @@ -86,6 +88,8 @@ def Edlen1953(l, T=288.15, p=101325, RH=0, f=None): Temperature in Kelvin p : float Atmospheric pressure in Pascal + RH : float + Relative humidity (0=