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-43885: Add down-sampling of stars for PiffPsfDeterminer when we have more than we need. #26

Merged
merged 1 commit into from Apr 15, 2024

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Apr 12, 2024

No description provided.

@@ -219,6 +220,8 @@ def setupDeterminer(
psfDeterminerConfig.stampSize = stampSize
psfDeterminerConfig.debugStarData = debugStarData
psfDeterminerConfig.useCoordinates = useCoordinates
if downsample:
psfDeterminerConfig.maxCandidates = 10
Copy link
Member

Choose a reason for hiding this comment

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

I'd have imagined passing maxCandidates as the optional argument instead of downsample. Is this choice because chiLim value below depends on maxCandidates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just wanted to be clear what codepath was being tested. It's somewhat arbitrary.

@erykoff erykoff merged commit 64a9864 into main Apr 15, 2024
2 checks passed
@erykoff erykoff deleted the tickets/DM-43885 branch April 15, 2024 22:20
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

3 participants