EstimateZernikesDanishConfig#
- class lsst.ts.wep.task.EstimateZernikesDanishConfig(*args, **kw)#
Bases:
EstimateZernikesBaseConfigDanish-specific configuration parameters for Zernike estimation.
Attributes Summary
Binning factor to apply to the donut stamps before estimating Zernike coefficients.
Order of the background polynomial to fit.
Whether to apply angle-of-incidence throughput correction in the danish forward model.
' the path will be understood as relative to the ts_wep policy directory.
Whether to jointly fit intra/extra pairs, when a pair is provided.
A dictionary containing any of the keyword arguments for scipy.optimize.least_squares, except
fun,x0,jac, orargs.Whether to include the spider shadows or not in the danish forward model.
Noll indices for which you wish to estimate Zernike coefficients.
If True, returns wavefront deviation.
Whether to save the algorithm history in the task metadata.
Whether to start Zernike estimation from the intrinsic Zernikes.
Fractional systematic uncertainty for the danish loss function.
Timeout in seconds for the multiprocessing pool.
Whether to use the triangle mode in the danish forward model.
Attributes Documentation
-
binning:
Field# Binning factor to apply to the donut stamps before estimating Zernike coefficients. A value of 1 means no binning. (
int, default1)
-
bkgOrder:
Field# Order of the background polynomial to fit. A value of -1 means no background fitting. (
int, default-1)
-
doAoiThroughput:
Field# Whether to apply angle-of-incidence throughput correction in the danish forward model. (
bool, defaultFalse)
- instConfigFile: pexConfig.Field#
‘ the path will be understood as relative to the ts_wep policy directory. If not provided, the default instrument for the camera will be loaded. (
str, defaultNone)- Type:
Path to a instrument configuration file to override the instrument configuration. If begins with ‘policy
-
jointFitPair:
Field# Whether to jointly fit intra/extra pairs, when a pair is provided. If False, Zernikes are estimated for each individually, then averaged. (
bool, defaultTrue)
-
lstsqKwargs:
DictField# A dictionary containing any of the keyword arguments for scipy.optimize.least_squares, except
fun,x0,jac, orargs. (Dict, default{})
-
modelSpiderShadows:
Field# Whether to include the spider shadows or not in the danish forward model. (
bool, defaultFalse)
- nollIndices: pexConfig.Field#
Noll indices for which you wish to estimate Zernike coefficients. Note these values must be unique, ascending, >= 4, and azimuthal pairs must be complete. For example, if nollIndices contains 5, it must also contain 6 (because 5 and 6 are the azimuthal pairs for astigmatism). (
List, default(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28))
- returnWfDev: pexConfig.Field#
If True, returns wavefront deviation. If False, returns full OPD. (
bool, defaultFalse)
- saveHistory: pexConfig.Field#
Whether to save the algorithm history in the task metadata. Depending on the algorithm, saving the history might slow down estimation, but doing so will provide intermediate products from the estimation process. (
bool, defaultFalse)
- startWithIntrinsic: pexConfig.Field#
Whether to start Zernike estimation from the intrinsic Zernikes. (
bool, defaultTrue)
-
systematicLossAlpha:
Field# Fractional systematic uncertainty for the danish loss function. The effective per-pixel variance becomes var + model + (alpha * model)**2, which caps per-pixel SNR and down-weights pixels dominated by unmodeled correlated residuals. A value of 0 (the default) recovers the standard chi-squared loss. (
float, default0.0)
-
binning: