Class ChipVisitMagnitudeMapping

Inheritance Relationships

Base Type

Class Documentation

class ChipVisitMagnitudeMapping : public lsst::jointcal::ChipVisitPhotometryMapping

Public Functions

ChipVisitMagnitudeMapping(std::shared_ptr<PhotometryMapping> chipMapping, std::shared_ptr<PhotometryMapping> visitMapping)
double transformError(MeasuredStar const &measuredStar, double value, double valueErr) const

Return the on-sky transformed flux uncertainty for measuredStar on ccdImage. Matches the underlying PhotometryTransform’s transformError() until freezeErrorTransform() is called.

Return

The on-sky value transformed from value at measuredStar’s position.

Note

This method takes instFlux and instFluxErr: the error calculation has to use fluxes to get the math right.

Parameters
  • [in] measuredStar: The measured star position to transform.

  • [in] value: The flux or magnitude to transform.

  • [in] valueErr: The flux or magnitude uncertainty to transform.

void computeParameterDerivatives(MeasuredStar const &measuredStar, double value, Eigen::Ref<Eigen::VectorXd> derivatives) const

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

Parameters
  • [in] measuredStar: The measured star position to 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.