74 double instFluxErr)
const {
77 _chipMapping->getTransformErrors()->transform(measuredStar.
x, measuredStar.
y, instFluxErr);
83 Eigen::Ref<Eigen::VectorXd> derivatives)
const {
88 double chipScale =
_chipMapping->getTransform()->transform(measuredStar.
x, measuredStar.
y, 1);
96 Eigen::Ref<Eigen::VectorXd> chipBlock = derivatives.segment(0,
getNParChip());
97 _chipMapping->getTransform()->computeParameterDerivatives(measuredStar.
x, measuredStar.
y, instFlux,
99 chipBlock *= visitScale;
106 visitBlock *= chipScale;
113 double instFluxErr)
const {
116 return 2.5 /
std::log(10.0) * instFluxErr / instFlux;
120 Eigen::Ref<Eigen::VectorXd> derivatives)
const {
128 Eigen::Ref<Eigen::VectorXd> chipBlock = derivatives.segment(0,
getNParChip());
129 _chipMapping->getTransform()->computeParameterDerivatives(measuredStar.
x, measuredStar.
y, instFlux,