Closed aakepley closed 10 years ago
Ahh I remember this about ALMA (and I think some SMA?) files. Just to confirm, do you hit an error when loading the file, or when trying to open the image viewer with it? Can you point me to an example file to test on?
The file loads in okay, but I'm unable to display it as an image. I don't know enough about the SMA to know if it has a similar issue.
Here's an example file: https://dl.dropboxusercontent.com/u/61033795/ic342_h57a_v2_cont_if1_final_v1.image.fits
Amanda
Thanks for the sample file. The pull request at #206 provides two enhancements that should make working with ALMA cubes better:
1) The image viewer can now work with cubes with more than 3 dimensions (it uses an interface similar to DS9 for selecting a 2D slice through an ND cube) 2) There is a specialized CASA image loader (which you can select from the "file type" dropdown when opening an image), that explicitly loads (PPVStokes) images as multi-attribute cubes -- one attribute for each stokes parameter. This makes it easier to intercompare histograms of the different stokes parameters.
I will give you an update when a Mac app with these features is available
Thanks, Chris! I tried it out with some other images I had sitting round and it worked fine.
CASA exports cubes as RA, Dec, Freq, and Stokes, which confuses glueviz. Exporting the cube without the stokes axis (dropstokes=True in exportfits) fixes the problem, but it would be good to have a fix on glueviz's end because CASA is the default calibration software for both ALMA and the VLA.