Skip to content

Commit

Permalink
Use PSF position explicitly to compute PSF size
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed May 12, 2022
1 parent 0129b61 commit 47be1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LocalBackground.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void LocalBackgroundAlgorithm::measure(afw::table::SourceRecord& measRecord,
if (!psf) {
throw LSST_EXCEPT(MeasurementError, NO_PSF.doc, NO_PSF.number);
}
float const psfSigma = psf->computeShape().getDeterminantRadius();
float const psfSigma = psf->computeShape(center).getDeterminantRadius();

float const innerRadius = _ctrl.annulusInner * psfSigma;
afw::geom::ellipses::Axes const innerCircle{innerRadius, innerRadius};
Expand Down

0 comments on commit 47be1d5

Please sign in to comment.