-
Notifications
You must be signed in to change notification settings - Fork 29
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
Coordinate of antenna position in UVFITS? #1486
Comments
Hey @fxzjshm! I'll get an answer to the UVFITS question for you here in just a sec, but an immediate question for you: is there some reason why your outputting to UVFITS and importing that via |
I'm new to synthesis imaging and someone told me that MeasurementSet format isn't stable even between minor versions of CASA, so I decided to try UVFITS first.. |
Hi @fxzjshm, as Karto mentioned above, the We have done loopback tests using the |
I'm converting some visibility from custom format to UVFITS/MeasurementSets and importing it to CASA. When using UVFITS as intermediate format (
write_uvfits
) and importing it using CASA taskimportuvfits
, antenna positions are not expected:When using MS (
write_ms
), results are expected:After some investigation I think it is related to
pyuvdata/pyuvdata/uvdata/uvfits.py
Lines 810 to 817 in d6e9436
But it seems that in casacore, array XYZ and antenna XYZ are added without rotation (if not VLA):
https://github.com/casacore/casacore/blob/bf9e411892b3816724eb11737cc32d12f86a6436/msfits/MSFits/MSFitsInput.cc#L2228
Also found a PR related to "modifications to uvfits AN read/write rules": casacore/casacore#400
So is that rotation required/expected? What's best practice to set antenna locations if I want to convert a custom format into UVFITS?
The text was updated successfully, but these errors were encountered: