LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::meas::modelfit::CModelControl Struct Reference

The main control object for CModel, containing parameters for the final linear fit and aggregating the other control objects. More...

#include <CModel.h>

Public Member Functions

 CModelControl ()
 

Public Attributes

std::string psfName
 "Field name prefix of the Shapelet PSF approximation used to convolve the galaxy model; " "must contain a set of fields matching the schema defined by shapelet.MultiShapeletFunctionKey." ; More...
 
PixelFitRegionControl region
 "Configuration parameters related to the determination of the pixels to include in the fit." ; More...
 
CModelStageControl initial
 "An initial fit (usually with a fast, approximate model) used to warm-start the exp and dev fits, " "convolved with only the zeroth-order terms in the multi-shapelet PSF approximation." ; More...
 
CModelStageControl exp
 "Independent fit of the exponential component" ; More...
 
CModelStageControl dev
 "Independent fit of the de Vaucouleur component" ; More...
 
double minInitialRadius
 "Minimum initial radius in pixels (used to regularize initial moments-based PSF deconvolution)" ; More...
 
double fallbackInitialMomentsPsfFactor
 "If the 2nd-moments shape used to initialize the fit failed, use the PSF moments multiplied by this." " If <= 0.0, abort the fit early instead." ; More...
 

Detailed Description

The main control object for CModel, containing parameters for the final linear fit and aggregating the other control objects.

Definition at line 233 of file CModel.h.

Constructor & Destructor Documentation

◆ CModelControl()

lsst::meas::modelfit::CModelControl::CModelControl ( )
inline

Definition at line 235 of file CModel.h.

235  :
236  psfName("modelfit_DoubleShapeletPsfApprox"),
237  minInitialRadius(0.1),
239  {
240  initial.nComponents = 3; // use very rough model in initial fit
241  initial.optimizer.gradientThreshold = 1E-3; // with slightly coarser convergence criteria
243  initial.usePixelWeights = true;
244  dev.profileName = "luv";
245  exp.nComponents = 6;
247  }

Member Data Documentation

◆ dev

CModelStageControl lsst::meas::modelfit::CModelControl::dev

"Independent fit of the de Vaucouleur component" ;

Definition at line 275 of file CModel.h.

◆ exp

CModelStageControl lsst::meas::modelfit::CModelControl::exp

"Independent fit of the exponential component" ;

Definition at line 270 of file CModel.h.

◆ fallbackInitialMomentsPsfFactor

double lsst::meas::modelfit::CModelControl::fallbackInitialMomentsPsfFactor

"If the 2nd-moments shape used to initialize the fit failed, use the PSF moments multiplied by this." " If <= 0.0, abort the fit early instead." ;

Definition at line 286 of file CModel.h.

◆ initial

CModelStageControl lsst::meas::modelfit::CModelControl::initial

"An initial fit (usually with a fast, approximate model) used to warm-start the exp and dev fits, " "convolved with only the zeroth-order terms in the multi-shapelet PSF approximation." ;

Definition at line 265 of file CModel.h.

◆ minInitialRadius

double lsst::meas::modelfit::CModelControl::minInitialRadius

"Minimum initial radius in pixels (used to regularize initial moments-based PSF deconvolution)" ;

Definition at line 280 of file CModel.h.

◆ psfName

std::string lsst::meas::modelfit::CModelControl::psfName

"Field name prefix of the Shapelet PSF approximation used to convolve the galaxy model; " "must contain a set of fields matching the schema defined by shapelet.MultiShapeletFunctionKey." ;

Definition at line 254 of file CModel.h.

◆ region

PixelFitRegionControl lsst::meas::modelfit::CModelControl::region

"Configuration parameters related to the determination of the pixels to include in the fit." ;

Definition at line 259 of file CModel.h.


The documentation for this struct was generated from the following file:
lsst::meas::modelfit::CModelStageControl::usePixelWeights
bool usePixelWeights
"Use per-pixel variances as weights in the nonlinear fit (the final linear fit for" " flux never uses...
Definition: CModel.h:204
lsst::meas::modelfit::CModelControl::initial
CModelStageControl initial
"An initial fit (usually with a fast, approximate model) used to warm-start the exp and dev fits,...
Definition: CModel.h:265
lsst::meas::modelfit::CModelControl::dev
CModelStageControl dev
"Independent fit of the de Vaucouleur component" ;
Definition: CModel.h:275
lsst::meas::modelfit::CModelControl::exp
CModelStageControl exp
"Independent fit of the exponential component" ;
Definition: CModel.h:270
lsst::meas::modelfit::CModelControl::minInitialRadius
double minInitialRadius
"Minimum initial radius in pixels (used to regularize initial moments-based PSF deconvolution)" ;
Definition: CModel.h:280
lsst::meas::modelfit::CModelControl::psfName
std::string psfName
"Field name prefix of the Shapelet PSF approximation used to convolve the galaxy model; " "must conta...
Definition: CModel.h:254
lsst::meas::modelfit::CModelStageControl::profileName
std::string profileName
"Name of the shapelet.RadialProfile that defines the model to fit" ;
Definition: CModel.h:167
lsst::meas::modelfit::CModelStageControl::nComponents
int nComponents
"Number of Gaussian used to approximate the profile" ;
Definition: CModel.h:191
lsst::meas::modelfit::CModelControl::fallbackInitialMomentsPsfFactor
double fallbackInitialMomentsPsfFactor
"If the 2nd-moments shape used to initialize the fit failed, use the PSF moments multiplied by this....
Definition: CModel.h:286
lsst::meas::modelfit::CModelStageControl::optimizer
OptimizerControl optimizer
"Configuration for how the objective surface is explored. Ignored for forced fitting" ;
Definition: CModel.h:215
lsst::meas::modelfit::OptimizerControl::maxOuterIterations
int maxOuterIterations
"maximum number of steps" ;
Definition: optimizer.h:272
lsst::meas::modelfit::OptimizerControl::minTrustRadiusThreshold
double minTrustRadiusThreshold
"If the trust radius falls below this threshold, consider the algorithm converged" ;
Definition: optimizer.h:202
lsst::meas::modelfit::OptimizerControl::gradientThreshold
double gradientThreshold
"If the maximum of the gradient falls below this threshold, consider the algorithm converged" ;
Definition: optimizer.h:207