LSSTApplications  18.1.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 232 of file CModel.h.

Constructor & Destructor Documentation

◆ CModelControl()

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

Definition at line 234 of file CModel.h.

234  :
235  psfName("modelfit_DoubleShapeletPsfApprox"),
236  minInitialRadius(0.1),
238  {
239  initial.nComponents = 3; // use very rough model in initial fit
240  initial.optimizer.gradientThreshold = 1E-3; // with slightly coarser convergence criteria
242  initial.usePixelWeights = true;
243  dev.profileName = "luv";
244  exp.nComponents = 6;
246  }
double gradientThreshold
"If the maximum of the gradient falls below this threshold, consider the algorithm converged" ; ...
Definition: optimizer.h:207
std::string profileName
"Name of the shapelet.RadialProfile that defines the model to fit" ;
Definition: CModel.h:166
int maxOuterIterations
"maximum number of steps" ;
Definition: optimizer.h:272
double minTrustRadiusThreshold
"If the trust radius falls below this threshold, consider the algorithm converged" ; ...
Definition: optimizer.h:202
int nComponents
"Number of Gaussian used to approximate the profile" ;
Definition: CModel.h:190
std::string psfName
"Field name prefix of the Shapelet PSF approximation used to convolve the galaxy model; " "must conta...
Definition: CModel.h:253
double fallbackInitialMomentsPsfFactor
"If the 2nd-moments shape used to initialize the fit failed, use the PSF moments multiplied by this...
Definition: CModel.h:285
CModelStageControl dev
"Independent fit of the de Vaucouleur component" ;
Definition: CModel.h:274
double minInitialRadius
"Minimum initial radius in pixels (used to regularize initial moments-based PSF deconvolution)" ; ...
Definition: CModel.h:279
bool usePixelWeights
"Use per-pixel variances as weights in the nonlinear fit (the final linear fit for" " flux never uses...
Definition: CModel.h:203
CModelStageControl exp
"Independent fit of the exponential component" ;
Definition: CModel.h:269
CModelStageControl initial
"An initial fit (usually with a fast, approximate model) used to warm-start the exp and dev fits...
Definition: CModel.h:264
OptimizerControl optimizer
"Configuration for how the objective surface is explored. Ignored for forced fitting" ; ...
Definition: CModel.h:214

Member Data Documentation

◆ dev

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

"Independent fit of the de Vaucouleur component" ;

Definition at line 274 of file CModel.h.

◆ exp

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

"Independent fit of the exponential component" ;

Definition at line 269 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 285 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 264 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 279 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 253 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 258 of file CModel.h.


The documentation for this struct was generated from the following file: