lsst.jointcal  master-g9041cab851+5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
< PhotometryTransfo
clone () 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...
 
- Public Member Functions inherited from lsst::jointcal::PhotometryTransfo
double apply (Point const &in, double instFlux) const
 
std::string __str__ () const
 Return a string describing this transfo. For the pybind11/python layer. More...
 
void computeDerivative (Point const &where, PhotometryTransfoSpatiallyInvariant &derivative, const double step=0.01) const
 

Protected Member Functions

void setValue (double value)
 

Friends

class PhotometryTransfo
 

Detailed Description

Definition at line 66 of file PhotometryTransfo.h.

Constructor & Destructor Documentation

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

Definition at line 68 of file PhotometryTransfo.h.

Member Function Documentation

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.

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.

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.

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.

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.

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.

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

Definition at line 89 of file PhotometryTransfo.h.

Friends And Related Function Documentation

friend class PhotometryTransfo
friend

Definition at line 91 of file PhotometryTransfo.h.


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