aas_det_lt_resp_factor:
The first photometric check is used to compute the reference value for flux
conversion (flux_pm). For this purpose first a three value-box-car filter
is applied on the photometric check data, the data are ordered (flux_p)
and the median is taken.
N : number of data (reset intervals) of the photometric check
To calculate the error on the median a one point offset against the
median is computed:
err_p_p1 : plus one sample deviation against MEDIANerr_p_m1 : minus one sample deviation against MEDIAN
N : number of data of the photometric check
flux_p : ordered array of photometric check data
aas_read_cal_factor:
The relative flux data (rel_flux) and the error of the relative flux (err_13) are taken from calibration file 13, one per band. How to compute this error in the relative flux is described in the related CAP and is not part of this paper.
aas_flux_con:
The new flux and associated error are calculated for each reset interval by:
flux_out : new computed flux which is part of the AARflux_in : flux input from equation 26
err_out : new computed error which is part of the AAR
err_in : error input from equation 27
Also here the current IA3 system (and OLP V6) calculates the error
differently: