User Tools

Site Tools


codes:errorbudget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
codes:errorbudget [2020/12/13 22:26]
fparraro
codes:errorbudget [2020/12/13 22:32]
fparraro
Line 682: Line 682:
 * ’//​single_ratio1//​’,​ ’//​single_ratio2//​’,​ ’//​single_ratio3//​’ and ’//​single_ratio4//​’. These fields are calculates as: * ’//​single_ratio1//​’,​ ’//​single_ratio2//​’,​ ’//​single_ratio3//​’ and ’//​single_ratio4//​’. These fields are calculates as:
  
-* $single_ratio1 ​= f_{4} - f_{1}$ +   * $single\_ratio1 ​= f_{4} - f_{1}$ 
-* $single_ratio2 ​= f_{4} - f_{2}$ +   ​* $single\_ratio2 ​= f_{4} - f_{2}$ 
-* $single_ratio3 ​= f_{4} - f_{3}$ +   ​* $single\_ratio3 ​= f_{4} - f_{3}$ 
-* $single_ratio4 ​= f_{5} - f_{4}$ ​+   ​* $single\_ratio4 ​= f_{5} - f_{4}$ ​
  
 * ’//​double_ratio2//​’ and ’//​double_ratio2_unc//​’. These fields are calculated as: * ’//​double_ratio2//​’ and ’//​double_ratio2_unc//​’. These fields are calculated as:
  
-* $double\_ratio2 = \sum_i f_i * w\_o3_{i+1}$ +   * $double\_ratio2 = \sum_{i} f_{i} * w\_o3_{i+1}$ 
-* $double\_ratio2\_unc = double\_ratio2 * \sum_i \frac{u_{fi}}{f_{i}} * w\_o3_{i+1}$+   ​* $double\_ratio2\_unc = double\_ratio2 * \sum_{i} ​\frac{u_{fi}}{f_{i}} * w\_o3_{i+1}$
  
 * '//​measure//'​ and '//​measure\_unc//'​. These fields are obtained as: * '//​measure//'​ and '//​measure\_unc//'​. These fields are obtained as:
  
-* $measure = double\_ratio2 + LF[p]$ +   * $measure = double\_ratio2 + LF[p]$ 
-* $measure\_unc = \sqrt{\left(1+\frac{slope\_wavelength}{100}\right)^{2}*double\_ratio2\_unc^{2} + \left(\frac{measure}{100}\right)^{2}*slope\_wavelength\_unc^{2}}$+   ​* $measure\_unc = \sqrt{\left(1+\frac{slope\_wavelength}{100}\right)^{2}*double\_ratio2\_unc^{2} + \left(\frac{measure}{100}\right)^{2}*slope\_wavelength\_unc^{2}}$
  
 === combined() === === combined() ===
Line 710: Line 710:
     ​     ​
     out = combined( measure, config )     out = combined( measure, config )
-    print("u_o3: &​quot; ​+ str(out['​u_o3'​])) +    print("u_o3: " ​+ str(out['​u_o3'​])) 
-    print(&quot;o3 : &quot;+str(out['​o3'​]))</​pre>​+    print("o3 : " ​+str(out['​o3'​]))
  
 The fields ’//​measure\_unc//​’,​ ’//​airmass//​’,​ ’//​airmass_uncertainty//​’,​ ’//​airmass_rayleigh//​’,​ ’//​airmass_rayleigh_uncertainty//​’,​ ’//​o3//​’,​ ’//​pre//​’ and ’//​u_pre//​’ are used from measure, and ’//​o3o3rate//​’,​ ’//​B//​’,​ ’//​u_B//​’,​ '//​u_A1//​’,​ ’//​u_etc//​’,​ ’//​w_o3_0//​’,​ ’//​w_o3_2//​’,​ ’//​w_o3_3//​’,​ ’//​w_o3_4//​’,​ ’//​w_o3_5//​’,​ ’//​w_o3_6//​’,​’//​rho_A_o3//​’,​ ’//​rho_A_mu//​’,​ ’//​rho_A_B//​’,​ ’//​rho_A_m//​’,​ ’//​rho_A_p//​’,​ ’//​rho_A_etc//​’,​ ’//​rho_o3_mu//​’,​ ’//​rho_o3_B//​’,​ ’//​rho_o3_m//​’,​ ’//​rho_o3_p//​’,​ ’//​rho_o3_etc//​’,​ ’//​rho_mu_B//​’,​ ’//​rho_mu_m//​’,​ ’//​rho_mu_p//​’,​ ’//​rho_mu_etc//​’,​ ’//​rho_B_m//​’,​ ’//​rho_B_p//>​’,​ ’//​rho_B_etc//>​’,​ ’//​rho_m_p//​’,​ ’//​rho_m_etc//​’,​ ’//​rho_p_etc//​’ are used from config. The fields ’//​measure\_unc//​’,​ ’//​airmass//​’,​ ’//​airmass_uncertainty//​’,​ ’//​airmass_rayleigh//​’,​ ’//​airmass_rayleigh_uncertainty//​’,​ ’//​o3//​’,​ ’//​pre//​’ and ’//​u_pre//​’ are used from measure, and ’//​o3o3rate//​’,​ ’//​B//​’,​ ’//​u_B//​’,​ '//​u_A1//​’,​ ’//​u_etc//​’,​ ’//​w_o3_0//​’,​ ’//​w_o3_2//​’,​ ’//​w_o3_3//​’,​ ’//​w_o3_4//​’,​ ’//​w_o3_5//​’,​ ’//​w_o3_6//​’,​’//​rho_A_o3//​’,​ ’//​rho_A_mu//​’,​ ’//​rho_A_B//​’,​ ’//​rho_A_m//​’,​ ’//​rho_A_p//​’,​ ’//​rho_A_etc//​’,​ ’//​rho_o3_mu//​’,​ ’//​rho_o3_B//​’,​ ’//​rho_o3_m//​’,​ ’//​rho_o3_p//​’,​ ’//​rho_o3_etc//​’,​ ’//​rho_mu_B//​’,​ ’//​rho_mu_m//​’,​ ’//​rho_mu_p//​’,​ ’//​rho_mu_etc//​’,​ ’//​rho_B_m//​’,​ ’//​rho_B_p//>​’,​ ’//​rho_B_etc//>​’,​ ’//​rho_m_p//​’,​ ’//​rho_m_etc//​’,​ ’//​rho_p_etc//​’ are used from config.
Line 932: Line 932:
  
 * ’//​B//​’. This field is the weighted Rayleigh scattering coefficient. * ’//​B//​’. This field is the weighted Rayleigh scattering coefficient.
 +
 * ’//​u_B//​’. This field is the weighted Rayleigh scattering coefficient uncertainty. * ’//​u_B//​’. This field is the weighted Rayleigh scattering coefficient uncertainty.
  
  
  
codes/errorbudget.txt · Last modified: 2024/03/22 13:31 by jlsolano