-
Notifications
You must be signed in to change notification settings - Fork 5
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
reverse order of Stokes/freq axes in im.wsclean #41
Comments
This is something that is always a pain to deal with. But the culprit is not wsclean, its lwimager and MeqTrees (uv-brick). CASA, wsclean and most packages I've used follow the convention RA,DEC,FREQ,STOKES. Which convention should we use when making images in pyxis? |
Ah really? Now that I hadn't realized... lt me think about that... On Tue, Jun 2, 2015 at 2:05 PM, Sphesihle Makhathini <
|
Hold up because it gets worse, and CASA isn't even internally consistent. FITS images produced by CASA's exportfits task are RA,DEC,FREQ,STOKES but the CASA format images that the imager creates are RA,DEC,STOKES,FREQ. The best course of action is probably to assume nothing and read the ordering from the image header each time. |
Yeah but here the question is, if Sphe is forming up those FITS files in a On Tue, Jun 2, 2015 at 2:31 PM, IanHeywood [email protected] wrote:
|
As we say in isZulu, "Insumansumane le". |
Is that translated as "if a man unwisely uses CASA, he deserves the shit he On Tue, Jun 2, 2015 at 3:17 PM, Sphesihle Makhathini <
|
he he he, that is quite close though. Its translated as "A situation which is beyond comprehension" |
I've always held RA,DEC,FREQ,STOKES to be the proper order because that's the way AIPS does it, and also that's ordering the axes in descending order of how often astronomers care about them (RA and DEC occupying the joint first position). |
Well I find that very hurtful, as I care very deeply about the Stokes axis! Anyway, I guess the only solution is to create a little tool to reorder On Wed, Jun 3, 2015 at 12:39 AM, IanHeywood [email protected]
|
I've written a function that does this ( |
In fact they are couple of functions in |
Also:
Sphe, can you translate this please? I'm going to get a t-shirt made. |
@IanHeywood give me a few days to come figure out the correct phrasing. |
im.wsclean currently assembles the cubes as RA,DEC,FREQ,STOKES. lwimager and CASA produce tham as RA,DEC,STOKES,FREQ.
It would be useful to make im.wsclean follow the CASA ordering, since it simplifies e.g. image arithmetic in Tigger.
The text was updated successfully, but these errors were encountered: