eradiate.spectral.CKDQuadPolicy#

class eradiate.spectral.CKDQuadPolicy(value)[source]#

Bases: Enum

This enumeration defines flags mapping to policies defining the number of CKD spectral quadrature points for a given spectral bin.

The "fixed" policy uses a constant number of quadrature points, regardless of the spectral bin. The other policies will determine a number of quadrature point based on molecular absorption data and an error criterion, seeking to minimize or achieve an error on the total column transmittance w.r.t. absorption for each spectral bin.

ERROR_THRESHOLD = 'error_threshold'#

Optimal number of quadrature points that achieves the error threshold (not implemented yet).

FIXED = 'fixed'#

Fixed number of quadrature points.

MINIMIZE_ERROR = 'minimize_error'#

Number of quadrature points that minimizes the error in each spectral bin (not implemented yet).