You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should come up with a method to generate CASA-compatible formats. Since CASA seems to deal with things entirely on disk (or almost so), this probably just means building a .image writer, presumably with some capability to write a .mask file in parallel.
This could serve as a drop-in replacement for importfits. For that reason, though, it may be redundant. Should we make it?
The text was updated successfully, but these errors were encountered:
cp -r a template image and then putchunk, etc. into the new copy
(this cheats to get your coordsys right)
In both cases ia.putchunk using the mask option shoves the mask into the file, else you can add a mask flag to write the mask as an integer (avoid bool for CASA).
Right way:
ia includes a method to make a new image from an array and a method to attach a coordsys. The complexity is a general wcs->coordsys translation. Tom has a nice version of the reverse, but that's easier.
We should come up with a method to generate CASA-compatible formats. Since CASA seems to deal with things entirely on disk (or almost so), this probably just means building a
.image
writer, presumably with some capability to write a.mask
file in parallel.This could serve as a drop-in replacement for
importfits
. For that reason, though, it may be redundant. Should we make it?The text was updated successfully, but these errors were encountered: