gastro  0.1.0
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
ConstrainedPolyModel Class Reference

This is the model used to fit mappings as the combination of a transformation depending on the chip number (instrument model) and a transformation per shoot (anamorphism). The two-transformation Mapping required for this model is TwoTransfoMapping. More...

#include <constrainedpolymodel.h>

Inheritance diagram for ConstrainedPolyModel:
DistortionModel

Public Member Functions

 ConstrainedPolyModel (const CcdImageList &L, const ProjectionHandler *ProjH, bool InitFromWCS, unsigned NNotFit=0)
 
const MappingGetMapping (const CcdImage &) const
 Mapping associated to a given CcdImage.
 
unsigned AssignIndices (unsigned FirstIndex, std::string &WhatToFit)
 Positions the various parameter sets into the parameter vector, starting at FirstIndex. More...
 
void OffsetParams (const Eigen::VectorXd &Delta)
 Offset the parameters by the provided amounts. More...
 
void DumpT2Transfos () const
 just a printout for now
 
const Gtransfo * Sky2TP (const Mapping *M, const CcdImage &C) const
 

Detailed Description

This is the model used to fit mappings as the combination of a transformation depending on the chip number (instrument model) and a transformation per shoot (anamorphism). The two-transformation Mapping required for this model is TwoTransfoMapping.

This modeling of distortions is meant for set of images from a single mosaic imager.

Member Function Documentation

unsigned ConstrainedPolyModel::AssignIndices ( unsigned  FirstIndex,
std::string &  WhatToFit 
)
virtual

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

This routine decodes "DistortionsChip" and "DistortionsShoot" in WhatToFit. If WhatToFit contains "Distortions" and not Distortions<Something>, it is understood as both chips and shoots.

Implements DistortionModel.

void ConstrainedPolyModel::OffsetParams ( const Eigen::VectorXd &  Delta)
virtual

Offset the parameters by the provided amounts.

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

Implements DistortionModel.

const Gtransfo* ConstrainedPolyModel::Sky2TP ( const Mapping M,
const CcdImage C 
) 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 DistortionModel.


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