Class MagnitudeTransformChebyshev

Inheritance Relationships

Base Type

Class Documentation

class MagnitudeTransformChebyshev : public lsst::jointcal::PhotometryTransformChebyshev

nth-order 2d Chebyshev photometry transform, plus the input flux.

Public Functions

MagnitudeTransformChebyshev(size_t order, geom::Box2D const &bbox)
MagnitudeTransformChebyshev(ndarray::Array<double, 2, 2> const &coefficients, geom::Box2D const &bbox)
double transform(double x, double y, double value) const

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

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.

std::shared_ptr<PhotometryTransform> clone() const

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