- aiapy.calibrate.estimate_error(counts: Unit('ct / pix'), channel: Unit('Angstrom'), *, n_sample=1, include_preflight=False, include_eve=False, include_chianti=False, error_table=None, **kwargs)#
Given an observed number of counts estimate the associated errors.
Calculate the error for a given set of counts for a given channel. This calculation includes errors from the shot noise, read noise, quantization, and onboard compression. The calculation can also optionally include contributions from the photometric calibration and errors in the atomic data.
This function is adapted directly from the aia_bp_corrections.pro routine in SolarSoft.
Quantity) – Observed counts. These should NOT be divided by the exposure time.
Quantity) – The corresponding channel for the observed counts.
int, optional) – How many measurements (adjacent pixels, or consecutive images) were averaged to produce the measured counts.
bool, optional) – Use the preflight photometric calibration. If True,
include_evemust be False.
bool, optional) – Use the EVE photometric calibration. If True,
include_preflightmust be False.
bool, optional) – If True, include the atomic data errors from CHIANTI in the uncertainty.
QTableor path-like, optional) – Error table to use. Can be an existing table or a path to a file. If an error table is not specified, the latest version will be downloaded from SolarSoft. Once you’ve downloaded this once, you won’t need to download it again unless the remote version changes.
- Return type: