Skip to content

incorrect multiplication in the Moffat profile function - #42

Open
CheerfulUser wants to merge 1 commit into
fraserw:masterfrom
CheerfulUser:master
Open

incorrect multiplication in the Moffat profile function#42
CheerfulUser wants to merge 1 commit into
fraserw:masterfrom
CheerfulUser:master

Conversation

@CheerfulUser

Copy link
Copy Markdown

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

fraserw commented Jul 20, 2023

Copy link
Copy Markdown
Owner

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