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

Migrate to no longer use SEP and use astropy Photutils instead. #374

Merged
merged 15 commits into from
Feb 22, 2024

Conversation

cmccully
Copy link
Collaborator

@cmccully cmccully commented Oct 5, 2023

No description provided.

@cmccully cmccully requested a review from mgdaily October 5, 2023 13:58
@cmccully cmccully requested a review from jchate6 October 23, 2023 18:39
Copy link

@jchate6 jchate6 left a comment

Choose a reason for hiding this comment

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

A few comments, but nothing major stands out.

banzai/photometry.py Show resolved Hide resolved
# Note that threshold is number of sigma, not an absolute number because we provide the error
# array to SEP.
threshold = 10.0
threshold = 2.5
Copy link

Choose a reason for hiding this comment

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

where did this threshold come from? Is it no longer a number of sigma but an absolute number?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should be a number of sigma. The original goal was to have sep go down to all pixels that are 2.5 sigma above background, but we got a bunch of overflows. On normal images this works now.

banzai/photometry.py Show resolved Hide resolved
@cmccully cmccully merged commit 972bf4b into master Feb 22, 2024
9 checks passed
@cmccully cmccully deleted the update/sep-astropy branch April 15, 2024 16:06
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.

3 participants