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 PsfexPsfDeterminer when we have more than we need. #73

Merged
merged 1 commit into from Apr 15, 2024

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Apr 12, 2024

No description provided.


stars = self.starSelector.run(self.catalog, exposure=self.exposure)
psfCandidateList = self.makePsfCandidates.run(stars.sourceCat, exposure=self.exposure).psfCandidates
with self.assertRaisesRegex(RuntimeError, "Failed to determine"):
Copy link
Contributor

Choose a reason for hiding this comment

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

If you add the number of psf stars used to the task metadata, you could check that value here instead of forcing a RuntimeError.

@erykoff erykoff merged commit 2305ad1 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

2 participants