lsst.jointcal  14.0-26-gc4bc114+6
Public Member Functions | List of all members
lsst::jointcal::SimplePolyModel Class Reference

this is the model used to fit independent CCDs, meaning that there is no instrument model. More...

#include <SimplePolyModel.h>

Inheritance diagram for lsst::jointcal::SimplePolyModel:
lsst::jointcal::AstrometryModel

Public Member Functions

 SimplePolyModel (CcdImageList const &ccdImageList, ProjectionHandler const *projectionHandler, bool initFromWCS, unsigned nNotFit=0, unsigned degree=3)
 Sky2TP is just a name, it can be anything. More...
 
 SimplePolyModel (SimplePolyModel const &)=delete
 No copy or move: there is only ever one instance of a given model (i.e.. per ccd+visit) More...
 
 SimplePolyModel (SimplePolyModel &&)=delete
 
SimplePolyModeloperator= (SimplePolyModel const &)=delete
 
SimplePolyModeloperator= (SimplePolyModel &&)=delete
 
const MappinggetMapping (CcdImage const &) const
 Mapping associated to a given CcdImage. More...
 
unsigned assignIndices (unsigned firstIndex, std::string const &whatToFit)
 Positions the various parameter sets into the parameter vector, starting at firstIndex. More...
 
void offsetParams (Eigen::VectorXd const &delta)
 Offset the parameters by the provided amounts. More...
 
const GtransfogetSky2TP (CcdImage const &ccdImage) const
 the mapping of sky coordinates (i.e. More...
 
virtual void freezeErrorTransform ()
 
Gtransfo const & getTransfo (CcdImage const &ccdImage) const
 Access to mappings. More...
 
std::shared_ptr< TanSipPix2RaDecproduceSipWcs (CcdImage const &ccdImage) const
 Cook up a SIP WCS. More...
 
 ~SimplePolyModel ()
 

Detailed Description

this is the model used to fit independent CCDs, meaning that there is no instrument model.

Definition at line 29 of file SimplePolyModel.h.

Constructor & Destructor Documentation

◆ SimplePolyModel() [1/3]

lsst::jointcal::SimplePolyModel::SimplePolyModel ( CcdImageList const &  ccdImageList,
ProjectionHandler const *  projectionHandler,
bool  initFromWCS,
unsigned  nNotFit = 0,
unsigned  degree = 3 
)

Sky2TP is just a name, it can be anything.

Definition at line 22 of file SimplePolyModel.cc.

◆ SimplePolyModel() [2/3]

lsst::jointcal::SimplePolyModel::SimplePolyModel ( SimplePolyModel const &  )
delete

No copy or move: there is only ever one instance of a given model (i.e.. per ccd+visit)

◆ SimplePolyModel() [3/3]

lsst::jointcal::SimplePolyModel::SimplePolyModel ( SimplePolyModel &&  )
delete

◆ ~SimplePolyModel()

lsst::jointcal::SimplePolyModel::~SimplePolyModel ( )
inline

Definition at line 64 of file SimplePolyModel.h.

Member Function Documentation

◆ assignIndices()

unsigned lsst::jointcal::SimplePolyModel::assignIndices ( unsigned  firstIndex,
std::string const &  whatToFit 
)
virtual

Positions the various parameter sets into the parameter vector, starting at firstIndex.

Implements lsst::jointcal::AstrometryModel.

Definition at line 79 of file SimplePolyModel.cc.

◆ freezeErrorTransform()

void lsst::jointcal::SimplePolyModel::freezeErrorTransform ( )
virtual

Implements lsst::jointcal::AstrometryModel.

Definition at line 101 of file SimplePolyModel.cc.

◆ getMapping()

const Mapping * lsst::jointcal::SimplePolyModel::getMapping ( CcdImage const &  ) const
virtual

Mapping associated to a given CcdImage.

Implements lsst::jointcal::AstrometryModel.

Definition at line 71 of file SimplePolyModel.cc.

◆ getSky2TP()

const Gtransfo* lsst::jointcal::SimplePolyModel::getSky2TP ( CcdImage const &  ccdImage) const
inlinevirtual

the mapping of sky coordinates (i.e.

the coordinate system in which fitted stars are reported) onto the Tangent plane (into which the pixel coordinates are transformed)

Implements lsst::jointcal::AstrometryModel.

Definition at line 54 of file SimplePolyModel.h.

◆ getTransfo()

const Gtransfo & lsst::jointcal::SimplePolyModel::getTransfo ( CcdImage const &  ccdImage) const

Access to mappings.

Definition at line 105 of file SimplePolyModel.cc.

◆ offsetParams()

void lsst::jointcal::SimplePolyModel::offsetParams ( Eigen::VectorXd const &  delta)
virtual

Offset the parameters by the provided amounts.

The shifts are applied according to the indices given in AssignIndices.

Implements lsst::jointcal::AstrometryModel.

Definition at line 94 of file SimplePolyModel.cc.

◆ operator=() [1/2]

SimplePolyModel& lsst::jointcal::SimplePolyModel::operator= ( SimplePolyModel const &  )
delete

◆ operator=() [2/2]

SimplePolyModel& lsst::jointcal::SimplePolyModel::operator= ( SimplePolyModel &&  )
delete

◆ produceSipWcs()

std::shared_ptr< TanSipPix2RaDec > lsst::jointcal::SimplePolyModel::produceSipWcs ( CcdImage const &  ccdImage) const
virtual

Cook up a SIP WCS.

Implements lsst::jointcal::AstrometryModel.

Definition at line 114 of file SimplePolyModel.cc.


The documentation for this class was generated from the following files: