-
Notifications
You must be signed in to change notification settings - Fork 11
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
Beam position angle incorrectly reported and rendered as degrees instead of radians for CASA image #1025
Comments
@nbrunett thanks for reporting this issue. It would be very helpful if you can share with us your test images for debugging. |
Here you go. The Let me know if you have any issues with the files or need anything else. |
@nbrunett Do you have any idea why the beam position angle is defined in rad not in degree? Are these test images generated with tclean directly without any other steps? We would like to get some ideas on how many casa images use rad to define the position angle of the beam element (knowing this would help us on scheduling of this bug fix). Thanks. |
I don't have any ideas why the units are different sometimes, sorry. I should say that these cubes were made in an older version of These are cubes that I was making for science, not just for testing Sorry this doesn't help with your question of how often the units are radians. I think it's worth noting that a lack of people reporting this issue up to this point may not mean it is rare. If the beam ellipse is small and round enough it would be difficult to notice this problem. The large and fairly elliptical beams in my cubes (that should have nearly identical beams) helped make it stand out when the beam ellipse rotated by almost 90 degrees when switching between cubes. |
Describe the bug
For a
CASA
image created inCASA
withtclean
, the "file information" in the "file browser" dialog ofCARTA
reports the restoring beam position angle to be -1.44 deg while the "header" tab showsBPA = -8.235030409149E+01
. Also, the beam ellipse when the image is loaded is using the position angle reported under "file information".imhead
inCASA
shows that the position angle is -1.44 radians, so it looks likeCARTA
is assuming it is in degrees in some places.To Reproduce
Expected behavior
The "file information" should report the correct position angle value with the appropriate units (either report radians like
imhead
does or convert value to degrees). The beam ellipse should be drawn based on the value and units of the position angle being consistent.Platform info (please complete the following information):
CARTA
app directly in it's own window)Additional context
One of my cubes where I am seeing this issue is fairly small (6 MB) and I can provide it if that would help.
Thanks.
The text was updated successfully, but these errors were encountered: