-
Notifications
You must be signed in to change notification settings - Fork 6
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
Diameter or pixel scale parameter #13
Comments
Sorry for the delay. I have pushed a new version of EIDOS today with 10 degree beams. Will try to add this functionality soon too. |
Added this option. Users can specify any two of these 3 options now: diameter, number of pixels, pixel scale. |
Having problems with the -r / -f approach:
|
I think this is the problem: https://github.com/ratt-ru/eidos/blob/master/eidos/create_beam.py#L74 The diameter (in degrees) is forced to be an integer at this point. Removed the explicit |
lift integer restriction on beam diameter. See #13
I think a nice enhancement would be to require the user to specify the number of pixels, but then optionally either the beam diameter or the pixel scale. The latter is more consistent with what a FITS header actually contains, and would make it easier to precisely and automatically map a primary beam model to a particular image.
(You could also cater for non-square pixels, and unequal image extents, for those rare people who use such things.)
Thanks.
The text was updated successfully, but these errors were encountered: