-
Notifications
You must be signed in to change notification settings - Fork 1
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-34531: Make piff PSF model size configurable #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! You might want to wait for Josh's comment just in case.
default=21, | ||
min=11, | ||
max=35, | ||
inclusiveMax=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a check=
option to ensure it's always odd?
Doesn't this duplicate the base config: https://github.com/lsst/meas_algorithms/blob/main/python/lsst/meas/algorithms/psfDeterminer.py#L37-L51 ? |
Thanks @jmeyers314 : I hadn't noticed the kernelSize in the parent class. It looks like it might be used rather differently there, though, with the min/max values being related to some calculated kernel size, not the one in the config? I wish those were documented better. |
Josh and I briefly looked into this yesterday, and it looks like the docstring for As for using a |
Except that, if I'm reading the pcaPsf and psfexPsf classes correctly, So, I think we want to revert most of these changes to piff here, but maybe add some clarifying comments to |
I think you're right in principle. In practice, the
gives
and is outside the nominal min/max. I don't know about DC2 or other datasets. I suspect we may not have been using the quadrupole scaled stuff in a while, which is why I didn't think to implement that for piff. |
Hi! Was directed here by @parejkoj re my question for what default configs to choose. @jmeyers314 So what does it mean when you say that the psfDeterminer's kernelSize for HSC is 81, when the actual output PSF model kernels are 41 pixels (e.g. the ones you'd get by...
It says 21 pixels for the post-PIFF |
Leave the default as 21 for further testing.
c24fcc0
to
58fd77f
Compare
Explicitly test it drawSize. Use drawSize in validatePsfCandidates. fixup
kernelSize from the BasePsfDeterminerConfig has a quite different meaning in the pca and psfex determiners.
58fd77f
to
f12b125
Compare
So for |
Closing this PR without merging, since this is no longer relevant. This has been taken care in DM-36071 and this ticket has been marked as Done. |
No description provided.