-
Notifications
You must be signed in to change notification settings - Fork 9
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
2D PSF models? #198
Comments
You can certainly create 2D PSF models. I have wanted to make something like a diffraction spike model for a long time now, but I just don't really know what the correct mathematical representation would be. It is also possible to make composite models where instead of a Would it be helpful if I made a custom psf tutorial like how I have the custom model tutorial? For something like a gaussian2d or moffat2d, that would be relatively easy to put together if you're thinking of just making them into ellipses. I could add that at any time, I just never did because I didn't think anyone would need it. If you're thinking of more creative 2D models and want to experiment on your own, then I suggest for now you trace through what happens in a PSF model that already exists and then adapt from there. Here is the Gaussian PSF model, which is actually pretty short because it leans on other code that's already out there: AstroPhot/astrophot/models/gaussian_model.py Line 255 in 3d0a5f3
To see the full detail of what's going on when you call something like but that is really getting in the weeds :) |
All good. After today i am pretty sure that i will go ahead with trying to do this, and will come back to you with my best attempt! Thanks again! |
I'm not sure if this is more a request for guidance or a real feature request.
I'm interested in trialing a 2D PSF model, but not (yet) brave enough to try coding my own class.
I think my biggest question is, before i dive into this, whether/how feasible it is? Is there anything in the code to prefer/require 1D (parametric) PSF models?
Alternatively, this might be a good candidate for a new set of PSF models; i.e. Gaussian2d, Moffat2d.
The text was updated successfully, but these errors were encountered: