LSSTApplications  8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
Public Types | Public Member Functions | Public Attributes | List of all members
Fit2d Struct Reference

Public Types

typedef Eigen::Matrix< double,
FittedModel::NPARAM,
FittedModel::NPARAM
Matrix
 
typedef Eigen::Matrix< double,
FittedModel::NPARAM, 1 > 
Vector
 

Public Member Functions

template<typename PixelT >
 Fit2d (afwImage::Image< PixelT > const &im)
 
 ~Fit2d ()
 

Public Attributes

int wide
 
std::vector< Raster > & rast
 
int nin
 
int nref
 
int iter
 
int tooclose
 
Vector param
 
Matrix alpha
 
Vector beta
 
Vector elold
 
Vector elnew
 
Vector sgold
 
Vector sgnew
 
Matrix alold
 
Matrix alnew
 
Vector beold
 
Vector benew
 
double chisq
 
double chold
 
double stold
 
double chnew
 
double stnew
 
double flamd
 
double flamdok
 
double xlamd
 
double ratiomin
 
int nitmax
 
double dc2zmin
 
double dc2zmax
 
double lost
 
double toosmall
 
int ncols
 
int nrows
 
int status
 

Detailed Description

Definition at line 38 of file twodg.cc.

Member Typedef Documentation

typedef Eigen::Matrix<double, FittedModel::NPARAM, FittedModel::NPARAM> Fit2d::Matrix

Definition at line 39 of file twodg.cc.

typedef Eigen::Matrix<double, FittedModel::NPARAM, 1> Fit2d::Vector

Definition at line 40 of file twodg.cc.

Constructor & Destructor Documentation

template<typename PixelT >
Fit2d::Fit2d ( afwImage::Image< PixelT > const &  im)
inlineexplicit

Definition at line 43 of file twodg.cc.

43  : wide(32), rast(*new std::vector<Raster>(wide*wide)) {
44  ncols = im.getWidth();
45  nrows = im.getHeight();
46 
47  dc2zmin = 0.3;
48  dc2zmax = 3.5;
49  tooclose = 3;
50  toosmall = 1.5;
51  nitmax = 15;
52  flamdok = 1.0e-7;
53  ratiomin = -1.0e-7;
54  lost = 3.5;
55  xlamd = 5.0;
56 
57  iter = 0;
58  flamd = 1.0;
59  }
std::vector< Raster > & rast
Definition: twodg.cc:65
double lost
Definition: twodg.cc:93
double dc2zmax
Definition: twodg.cc:92
double xlamd
Definition: twodg.cc:88
int ncols
Definition: twodg.cc:95
int tooclose
Definition: twodg.cc:69
int wide
Definition: twodg.cc:64
double dc2zmin
Definition: twodg.cc:91
int nitmax
Definition: twodg.cc:90
int getHeight() const
Return the number of rows in the image.
Definition: Image.h:239
double flamdok
Definition: twodg.cc:87
int nrows
Definition: twodg.cc:96
double toosmall
Definition: twodg.cc:94
int iter
Definition: twodg.cc:68
int getWidth() const
Return the number of columns in the image.
Definition: Image.h:237
double flamd
Definition: twodg.cc:86
double ratiomin
Definition: twodg.cc:89
Fit2d::~Fit2d ( )
inline

Definition at line 60 of file twodg.cc.

60  {
61  delete &rast;
62  }
std::vector< Raster > & rast
Definition: twodg.cc:65

Member Data Documentation

Matrix Fit2d::alnew

Definition at line 78 of file twodg.cc.

Matrix Fit2d::alold

Definition at line 77 of file twodg.cc.

Matrix Fit2d::alpha

Definition at line 71 of file twodg.cc.

Vector Fit2d::benew

Definition at line 80 of file twodg.cc.

Vector Fit2d::beold

Definition at line 79 of file twodg.cc.

Vector Fit2d::beta

Definition at line 72 of file twodg.cc.

double Fit2d::chisq

Definition at line 81 of file twodg.cc.

double Fit2d::chnew

Definition at line 84 of file twodg.cc.

double Fit2d::chold

Definition at line 82 of file twodg.cc.

double Fit2d::dc2zmax

Definition at line 92 of file twodg.cc.

double Fit2d::dc2zmin

Definition at line 91 of file twodg.cc.

Vector Fit2d::elnew

Definition at line 74 of file twodg.cc.

Vector Fit2d::elold

Definition at line 73 of file twodg.cc.

double Fit2d::flamd

Definition at line 86 of file twodg.cc.

double Fit2d::flamdok

Definition at line 87 of file twodg.cc.

int Fit2d::iter

Definition at line 68 of file twodg.cc.

double Fit2d::lost

Definition at line 93 of file twodg.cc.

int Fit2d::ncols

Definition at line 95 of file twodg.cc.

int Fit2d::nin

Definition at line 66 of file twodg.cc.

int Fit2d::nitmax

Definition at line 90 of file twodg.cc.

int Fit2d::nref

Definition at line 67 of file twodg.cc.

int Fit2d::nrows

Definition at line 96 of file twodg.cc.

Vector Fit2d::param

Definition at line 70 of file twodg.cc.

std::vector<Raster>& Fit2d::rast

Definition at line 65 of file twodg.cc.

double Fit2d::ratiomin

Definition at line 89 of file twodg.cc.

Vector Fit2d::sgnew

Definition at line 76 of file twodg.cc.

Vector Fit2d::sgold

Definition at line 75 of file twodg.cc.

int Fit2d::status

Definition at line 97 of file twodg.cc.

double Fit2d::stnew

Definition at line 85 of file twodg.cc.

double Fit2d::stold

Definition at line 83 of file twodg.cc.

int Fit2d::tooclose

Definition at line 69 of file twodg.cc.

double Fit2d::toosmall

Definition at line 94 of file twodg.cc.

int Fit2d::wide

Definition at line 64 of file twodg.cc.

double Fit2d::xlamd

Definition at line 88 of file twodg.cc.


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