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

incorrect multiplication in the Moffat profile function #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CheerfulUser
Copy link

One multiplication in the Moffat profile should be a division. This should have no effect on the results as it just changes the amplitude of the profile and not the shape.

@fraserw
Copy link
Owner

fraserw commented Jul 20, 2023

Thanks @CheerfulUser for pointing out this pretty silly mistake. You're correct in that it only modifies the amplitude of the moffat profile, and not its shape. Probably why this error has existed for so long!

I am currently trying to come up with a scheme to handle this error for those PSF files created before fixing this bug. At least something better than just warning people. Once I have a solution I will merge.

thanks again.

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.

2 participants