LSST Applications  21.0.0-147-g0e635eb1+1acddb5be5,22.0.0+052faf71bd,22.0.0+1ea9a8b2b2,22.0.0+6312710a6c,22.0.0+729191ecac,22.0.0+7589c3a021,22.0.0+9f079a9461,22.0.1-1-g7d6de66+b8044ec9de,22.0.1-1-g87000a6+536b1ee016,22.0.1-1-g8e32f31+6312710a6c,22.0.1-10-gd060f87+016f7cdc03,22.0.1-12-g9c3108e+df145f6f68,22.0.1-16-g314fa6d+c825727ab8,22.0.1-19-g93a5c75+d23f2fb6d8,22.0.1-19-gb93eaa13+aab3ef7709,22.0.1-2-g8ef0a89+b8044ec9de,22.0.1-2-g92698f7+9f079a9461,22.0.1-2-ga9b0f51+052faf71bd,22.0.1-2-gac51dbf+052faf71bd,22.0.1-2-gb66926d+6312710a6c,22.0.1-2-gcb770ba+09e3807989,22.0.1-20-g32debb5+b8044ec9de,22.0.1-23-gc2439a9a+fb0756638e,22.0.1-3-g496fd5d+09117f784f,22.0.1-3-g59f966b+1e6ba2c031,22.0.1-3-g849a1b8+f8b568069f,22.0.1-3-gaaec9c0+c5c846a8b1,22.0.1-32-g5ddfab5d3+60ce4897b0,22.0.1-4-g037fbe1+64e601228d,22.0.1-4-g8623105+b8044ec9de,22.0.1-5-g096abc9+d18c45d440,22.0.1-5-g15c806e+57f5c03693,22.0.1-7-gba73697+57f5c03693,master-g6e05de7fdc+c1283a92b8,master-g72cdda8301+729191ecac,w.2021.39
LSST Data Management Base Package
Public Member Functions | Public Attributes | List of all members
lsst::meas::modelfit::CModelStageControl Struct Reference

Nested control object for CModel that configures one of the three ("initial", "exp", "dev") nonlinear fitting stages. More...

#include <CModel.h>

Public Member Functions

 CModelStageControl ()
 
shapelet::RadialProfile const & getProfile () const
 
std::shared_ptr< ModelgetModel () const
 
std::shared_ptr< PriorgetPrior () const
 

Public Attributes

std::string profileName
 "Name of the shapelet.RadialProfile that defines the model to fit" ; More...
 
std::string priorSource
 "One of 'FILE', 'LINEAR', 'EMPIRICAL', or 'NONE', indicating whether the prior should be loaded " "from disk, created from one of the nested prior config/control objects, or None" ; More...
 
std::string priorName
 "Name of the Prior that defines the model to fit (a filename in $MEAS_MODELFIT_DIR/data, " "with no extension), if priorSource='FILE'. Ignored for forced fitting." ; More...
 
SoftenedLinearPriorControl linearPriorConfig
 "Configuration for a linear prior, used if priorSource='LINEAR'." ; More...
 
SemiEmpiricalPriorControl empiricalPriorConfig
 "Configuration for an empirical prior, used if priorSource='EMPIRICAL'." ; More...
 
int nComponents
 "Number of Gaussian used to approximate the profile" ; More...
 
int maxRadius
 "Maximum radius used in approximating profile with Gaussians (0=default for this profile)" ; More...
 
bool usePixelWeights
 "Use per-pixel variances as weights in the nonlinear fit (the final linear fit for" " flux never uses per-pixel variances)" ; More...
 
double weightsMultiplier
 "Scale the likelihood by this factor to artificially reweight it w.r.t. the prior." ; More...
 
OptimizerControl optimizer
 "Configuration for how the objective surface is explored. Ignored for forced fitting" ; More...
 
bool doRecordHistory
 "Whether to record the steps the optimizer takes (or just the number, if running as a plugin)" ; More...
 
bool doRecordTime
 "Whether to record the time spent in this stage" ; More...
 

Detailed Description

Nested control object for CModel that configures one of the three ("initial", "exp", "dev") nonlinear fitting stages.

Definition at line 142 of file CModel.h.

Constructor & Destructor Documentation

◆ CModelStageControl()

lsst::meas::modelfit::CModelStageControl::CModelStageControl ( )
inline

Definition at line 144 of file CModel.h.

144  :
145  profileName("lux"),
146  priorSource("EMPIRICAL"),
147  priorName(),
148  nComponents(8),
149  maxRadius(0),
150  usePixelWeights(false),
151  weightsMultiplier(1.0),
152  doRecordHistory(true),
153  doRecordTime(true)
154  {}
std::string profileName
"Name of the shapelet.RadialProfile that defines the model to fit" ;
Definition: CModel.h:167
int nComponents
"Number of Gaussian used to approximate the profile" ;
Definition: CModel.h:191
std::string priorName
"Name of the Prior that defines the model to fit (a filename in $MEAS_MODELFIT_DIR/data,...
Definition: CModel.h:179
bool doRecordTime
"Whether to record the time spent in this stage" ;
Definition: CModel.h:225
bool usePixelWeights
"Use per-pixel variances as weights in the nonlinear fit (the final linear fit for" " flux never uses...
Definition: CModel.h:204
bool doRecordHistory
"Whether to record the steps the optimizer takes (or just the number, if running as a plugin)" ;
Definition: CModel.h:220
int maxRadius
"Maximum radius used in approximating profile with Gaussians (0=default for this profile)" ;
Definition: CModel.h:197
double weightsMultiplier
"Scale the likelihood by this factor to artificially reweight it w.r.t. the prior....
Definition: CModel.h:210
std::string priorSource
"One of 'FILE', 'LINEAR', 'EMPIRICAL', or 'NONE', indicating whether the prior should be loaded " "fr...
Definition: CModel.h:173

Member Function Documentation

◆ getModel()

std::shared_ptr<Model> lsst::meas::modelfit::CModelStageControl::getModel ( ) const

◆ getPrior()

std::shared_ptr<Prior> lsst::meas::modelfit::CModelStageControl::getPrior ( ) const

◆ getProfile()

shapelet::RadialProfile const& lsst::meas::modelfit::CModelStageControl::getProfile ( ) const
inline

Definition at line 156 of file CModel.h.

156  {
158  }
static RadialProfile & get(std::string const &name)
Return a predefined radial profile given its name.

Member Data Documentation

◆ doRecordHistory

bool lsst::meas::modelfit::CModelStageControl::doRecordHistory

"Whether to record the steps the optimizer takes (or just the number, if running as a plugin)" ;

Definition at line 220 of file CModel.h.

◆ doRecordTime

bool lsst::meas::modelfit::CModelStageControl::doRecordTime

"Whether to record the time spent in this stage" ;

Definition at line 225 of file CModel.h.

◆ empiricalPriorConfig

SemiEmpiricalPriorControl lsst::meas::modelfit::CModelStageControl::empiricalPriorConfig

"Configuration for an empirical prior, used if priorSource='EMPIRICAL'." ;

Definition at line 189 of file CModel.h.

◆ linearPriorConfig

SoftenedLinearPriorControl lsst::meas::modelfit::CModelStageControl::linearPriorConfig

"Configuration for a linear prior, used if priorSource='LINEAR'." ;

Definition at line 184 of file CModel.h.

◆ maxRadius

int lsst::meas::modelfit::CModelStageControl::maxRadius

"Maximum radius used in approximating profile with Gaussians (0=default for this profile)" ;

Definition at line 197 of file CModel.h.

◆ nComponents

int lsst::meas::modelfit::CModelStageControl::nComponents

"Number of Gaussian used to approximate the profile" ;

Definition at line 191 of file CModel.h.

◆ optimizer

OptimizerControl lsst::meas::modelfit::CModelStageControl::optimizer

"Configuration for how the objective surface is explored. Ignored for forced fitting" ;

Definition at line 215 of file CModel.h.

◆ priorName

std::string lsst::meas::modelfit::CModelStageControl::priorName

"Name of the Prior that defines the model to fit (a filename in $MEAS_MODELFIT_DIR/data, " "with no extension), if priorSource='FILE'. Ignored for forced fitting." ;

Definition at line 179 of file CModel.h.

◆ priorSource

std::string lsst::meas::modelfit::CModelStageControl::priorSource

"One of 'FILE', 'LINEAR', 'EMPIRICAL', or 'NONE', indicating whether the prior should be loaded " "from disk, created from one of the nested prior config/control objects, or None" ;

Definition at line 173 of file CModel.h.

◆ profileName

std::string lsst::meas::modelfit::CModelStageControl::profileName

"Name of the shapelet.RadialProfile that defines the model to fit" ;

Definition at line 167 of file CModel.h.

◆ usePixelWeights

bool lsst::meas::modelfit::CModelStageControl::usePixelWeights

"Use per-pixel variances as weights in the nonlinear fit (the final linear fit for" " flux never uses per-pixel variances)" ;

Definition at line 204 of file CModel.h.

◆ weightsMultiplier

double lsst::meas::modelfit::CModelStageControl::weightsMultiplier

"Scale the likelihood by this factor to artificially reweight it w.r.t. the prior." ;

Definition at line 210 of file CModel.h.


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