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

Question: Use of existing noise maps #1284

Closed
rainerschoedel opened this issue Jan 12, 2022 · 2 comments
Closed

Question: Use of existing noise maps #1284

rainerschoedel opened this issue Jan 12, 2022 · 2 comments

Comments

@rainerschoedel
Copy link

I am currently learning photutils to benchmark it against StarFinder in Adaptive Optics images.

If I have already a noise map that provides me with the empirically estimated noise for each pixel of an image, is there an easy way to use it? Thanks.

@larrybradley
Copy link
Member

@rainerschoedel The star finders in photutils have a threshold parameter, which defines the image value above which sources are detected. Typically, the threshold is defined relative to a background-only noise map, e.g., 3-sigma above the background. That will give you a threshold image, but most of the star finders require threshold to be a scalar float. So you will need to take a mean/median of your threshold image to get a threshold value. The find_peaks function (https://photutils.readthedocs.io/en/latest/api/photutils.detection.find_peaks.html#photutils.detection.find_peaks) is the only one where you can input a threshold image.

@rainerschoedel
Copy link
Author

rainerschoedel commented Feb 10, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants