Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-30426: Use psf->computeImageBBox() #35

Merged
merged 3 commits into from Jun 14, 2021
Merged

Conversation

jmeyers314
Copy link
Contributor

In particular, avoid inferring psf->computeImage()->getBBox()
from psf->computeBBox(), since this has proven unreliable and
different Psf subclasses may even perform the conversion
differently.

Copy link
Contributor

@PaulPrice PaulPrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend stripping out the useSourceCentroidOffset knob, which will simplify the code.

src/HsmMoments.cc Show resolved Hide resolved
src/HsmMoments.cc Show resolved Hide resolved
src/HsmMoments.cc Show resolved Hide resolved
src/HsmMoments.cc Show resolved Hide resolved
tests/test_hsm.py Outdated Show resolved Hide resolved
@jmeyers314 jmeyers314 force-pushed the tickets/DM-30426 branch 2 times, most recently from 7bd3228 to 4b0cff8 Compare June 8, 2021 20:23
In particular, avoid inferring psf->computeImage()->getBBox()
from psf->computeBBox(), since this has proven unreliable and
different Psf subclasses may even perform the conversion
differently.
@jmeyers314 jmeyers314 merged commit 810ae3f into master Jun 14, 2021
@jmeyers314 jmeyers314 deleted the tickets/DM-30426 branch June 14, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants