lsst.jointcal  master-ga8493ae4fe+2
Public Member Functions | Protected Member Functions | Friends | List of all members
lsst::jointcal::PhotometryTransfoSpatiallyInvariant Class Reference

#include <PhotometryTransfo.h>

Inheritance diagram for lsst::jointcal::PhotometryTransfoSpatiallyInvariant:
lsst::jointcal::PhotometryTransfo

Public Member Functions

 PhotometryTransfoSpatiallyInvariant (double value=1)
 
double apply (double x, double y, double instFlux) const override
 Apply the transform to instFlux at (x,y), put result in flux. More...
 
void dump (std::ostream &stream=std::cout) const override
 dumps the transfo coefficients to stream. More...
 
int getNpar () const override
 Return the number of parameters (used to compute chisq) More...
 
void offsetParams (const double *delta) override
 Offset the parameters by some amount during fitting. More...
 
std::unique_ptr< PhotometryTransfoclone () const override
 return a copy (allocated by new) of the transformation. More...
 
void computeDerivative (Point const &where, PhotometryTransfoSpatiallyInvariant &derivative, const double step=0.01) const
 The spatial derivative of a constant zeropoint is 1. More...
 
double apply (Point const &in, double instFlux) const
 
std::string __str__ () const
 Return a string describing this transfo. For the pybind11/python layer. More...
 

Protected Member Functions

void setValue (double value)
 

Friends

class PhotometryTransfo
 

Detailed Description

Definition at line 66 of file PhotometryTransfo.h.

Constructor & Destructor Documentation

◆ PhotometryTransfoSpatiallyInvariant()

lsst::jointcal::PhotometryTransfoSpatiallyInvariant::PhotometryTransfoSpatiallyInvariant ( double  value = 1)
inline

Definition at line 68 of file PhotometryTransfo.h.

Member Function Documentation

◆ __str__()

std::string lsst::jointcal::PhotometryTransfo::__str__ ( ) const
inlineinherited

Return a string describing this transfo. For the pybind11/python layer.

Definition at line 39 of file PhotometryTransfo.h.

◆ apply() [1/2]

double lsst::jointcal::PhotometryTransfo::apply ( Point const &  in,
double  instFlux 
) const
inlineinherited

Definition at line 33 of file PhotometryTransfo.h.

◆ apply() [2/2]

double lsst::jointcal::PhotometryTransfoSpatiallyInvariant::apply ( double  x,
double  y,
double  instFlux 
) const
inlineoverridevirtual

Apply the transform to instFlux at (x,y), put result in flux.

Implements lsst::jointcal::PhotometryTransfo.

Definition at line 70 of file PhotometryTransfo.h.

◆ clone()

std::unique_ptr<PhotometryTransfo> lsst::jointcal::PhotometryTransfoSpatiallyInvariant::clone ( ) const
inlineoverridevirtual

return a copy (allocated by new) of the transformation.

Implements lsst::jointcal::PhotometryTransfo.

Definition at line 78 of file PhotometryTransfo.h.

◆ computeDerivative()

void lsst::jointcal::PhotometryTransfoSpatiallyInvariant::computeDerivative ( Point const &  where,
PhotometryTransfoSpatiallyInvariant derivative,
const double  step = 0.01 
) const
inline

The spatial derivative of a constant zeropoint is 1.

Definition at line 83 of file PhotometryTransfo.h.

◆ dump()

void lsst::jointcal::PhotometryTransfoSpatiallyInvariant::dump ( std::ostream &  stream = std::cout) const
inlineoverridevirtual

dumps the transfo coefficients to stream.

Implements lsst::jointcal::PhotometryTransfo.

Definition at line 72 of file PhotometryTransfo.h.

◆ getNpar()

int lsst::jointcal::PhotometryTransfoSpatiallyInvariant::getNpar ( ) const
inlineoverridevirtual

Return the number of parameters (used to compute chisq)

Reimplemented from lsst::jointcal::PhotometryTransfo.

Definition at line 74 of file PhotometryTransfo.h.

◆ offsetParams()

void lsst::jointcal::PhotometryTransfoSpatiallyInvariant::offsetParams ( const double *  delta)
inlineoverridevirtual

Offset the parameters by some amount during fitting.

Implements lsst::jointcal::PhotometryTransfo.

Definition at line 76 of file PhotometryTransfo.h.

◆ setValue()

void lsst::jointcal::PhotometryTransfoSpatiallyInvariant::setValue ( double  value)
inlineprotected

Definition at line 89 of file PhotometryTransfo.h.

Friends And Related Function Documentation

◆ PhotometryTransfo

friend class PhotometryTransfo
friend

Definition at line 91 of file PhotometryTransfo.h.


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