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

Different centroids by IRAFStarFinder and DAOStarFinder #1243

Closed
mcara opened this issue Sep 13, 2021 · 2 comments
Closed

Different centroids by IRAFStarFinder and DAOStarFinder #1243

mcara opened this issue Sep 13, 2021 · 2 comments

Comments

@mcara
Copy link
Contributor

mcara commented Sep 13, 2021

I have an image with a sharp simulated PSF. I used three methods to find the center of the PSF: drizzlepac.tweakreg, IRAFStarFinder, and DAOStarFinder. First two give almost indistinguishable (but not identical) results. The last one is way off.

I have attached an image that shows the centroids obtained with these methods. On the left side is the "original" data image and on the right side is the density enhanced image (data convolved with the kernel). I chose a kernel with FWHM=3 in order to enhance the effect.

My understanding is that DAOFIND looks for peaks in the density enhanced image. Looking at that image I do not see how DAOFIND algorithm would find a peak at the green marker and miss the real, strong, peak.

Is this a bug in the implementation of the DAOFIND algorithm? Thanks!

comparison

@larrybradley
Copy link
Member

I've discussed this issue offline with @mcara. In summary, the center of the star was rejected because its sharpness was larger than the sharphi limit. The center of the star is found if sharphi is increased.

@mcara
Copy link
Contributor Author

mcara commented Sep 16, 2021

What is the maximum possible value for the sharphi parameter? For example, what would the sharpness be for a delta-function PSF?

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