Class MagnitudeTransformSpatiallyInvariant

Inheritance Relationships

Base Type

Class Documentation

class MagnitudeTransformSpatiallyInvariant : public lsst::jointcal::PhotometryTransformSpatiallyInvariant

Photometric offset independent of position, defined as -2.5 * log(flux / fluxMag0).

initialMagnitude + SpatiallyInvariantTransform -> correctedMagnitude

Public Functions

MagnitudeTransformSpatiallyInvariant(double value = 0)
double transform(double x, double y, double mag) const

Return the transform of value at (x,y).

double transformError(double x, double y, double value, double valueErr) const

Return the transformed valueErr at Point(x,y).

std::shared_ptr<PhotometryTransform> clone() const

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

void computeParameterDerivatives(double x, double y, double value, Eigen::Ref<Eigen::VectorXd> derivatives) const

Compute the derivatives with respect to the parameters (i.e. the coefficients).

Parameters
  • [in] x: The x coordinate to compute at (in the appropriate units for this transform).

  • [in] y: The y coordinate to compute at (in the appropriate units for this transform).

  • [in] value: The instrument flux or magnitude to compute the derivative at.

  • [out] derivatives: The computed derivatives, in the same order as the deltas in offsetParams.