eradiate.spectral.QuadSpecMinError#
- class eradiate.spectral.QuadSpecMinError(nmax=None)[source]#
Bases:
QuadSpec
Error-minimizing number of quadrature points [
minimize_error
]Find the number of quadrature points that minimizes the error on the atmospheric transmittance. The quadrature type
- Parameters:
nmax (
int
, optional) – Maximum number of quadrature points- Fields:
- classmethod convert(value)#
Attempt conversion to a
QuadSpec
instance. If value is a dictionary, it is passed tofrom_dict()
; otherwise, it is left unchanged.
- static default()#
Return the default spectral quadrature (Gauss-Legendre, 16 g-points).
- classmethod from_dict(value)[source]#
Create a quadrature specification subtype from a dictionary. The dictionary must have a
type
entry, whose value maps to a give quadrature specification subtype as follows:fixed
:QuadSpecFixed
minimize_error
:QuadSpecMinError
error_threshold
:QuadSpecErrorThreshold