DipoleFitPluginConfig#
- class lsst.ip.diffim.DipoleFitPluginConfig(*args, **kw)#
Bases:
SingleFramePluginConfigConfiguration for DipoleFitPlugin
Attributes Summary
whether to run this plugin in single-object mode (
bool, defaultTrue)Attempte dipole fit of all diaSources (otherwise just the ones consisting of overlapping positive and negative footprints) (
bool, defaultFalse)Set whether and how to fit for linear gradient in pre-sub.
Include parameters to fit for negative values (flux, gradient) separately from pos.
Maximum Chi2/DoF significance of fit to be considered a dipole.
Maximum flux ratio in either lobe to be considered a dipole (
float, default0.65)Maximum area for footprints before they are ignored as large; non-positive means no threshold appliedThreshold chosen for HSC and DECam data, see DM-38741 for details.
Assume dipole is not separated by more than maxSeparation * psfSigma (
float, default5.0)Minimum quadrature sum of positive+negative lobe S/N to be considered a dipole (
float, default7.0710678118654755)Relative weighting of pre-subtraction images (higher -> greater influence of pre-sub.
Fit tolerance (
float, default1e-07)Attributes Documentation
- doMeasure#
whether to run this plugin in single-object mode (
bool, defaultTrue)
- fitAllDiaSources#
Attempte dipole fit of all diaSources (otherwise just the ones consisting of overlapping positive and negative footprints) (
bool, defaultFalse)
- fitBackground#
Set whether and how to fit for linear gradient in pre-sub. images. Possible values:0: do not fit background at all1 (default): pre-fit the background using linear least squares and then do not fit it as partof the dipole fitting optimization2: pre-fit the background using linear least squares (as in 1), and use the parameterestimates from that fit as starting parameters for an integrated re-fit of the background (
int, default1)
- fitSeparateNegParams#
Include parameters to fit for negative values (flux, gradient) separately from pos. (
bool, defaultFalse)
- maxChi2DoF#
Maximum Chi2/DoF significance of fit to be considered a dipole. Default value means “Choose a chi2DoF corresponding to a significance level of at most 0.05” (note this is actually a significance, not a chi2 value). (
float, default0.05)
- maxFluxRatio#
Maximum flux ratio in either lobe to be considered a dipole (
float, default0.65)
- maxFootprintArea#
Maximum area for footprints before they are ignored as large; non-positive means no threshold appliedThreshold chosen for HSC and DECam data, see DM-38741 for details. (
int, default1200)
- maxSeparation#
Assume dipole is not separated by more than maxSeparation * psfSigma (
float, default5.0)
- minSn#
Minimum quadrature sum of positive+negative lobe S/N to be considered a dipole (
float, default7.0710678118654755)
- relWeight#
Relative weighting of pre-subtraction images (higher -> greater influence of pre-sub. images on fit) (
float, default0.5)
- tolerance#
Fit tolerance (
float, default1e-07)