ism3d.uvhelper.ms.write_ms¶
-
ism3d.uvhelper.ms.
write_ms
(vis, value, datacolumn='corrected', inputvis=None)[source]¶ attach new visibility data/model values into an MS
if the specified datacolumn doesn’t exist, it will be created on-the-fly.
- note:
the input data shape is nrecord x nchan x ncorr following the rule in casacore.table.getcol(), which is reversed from casa6.casatools.table.getcol() (ncorr x nchan x nrecord) alternatively, ncrecord x nchan (stokes-I) is also fine and will be broadcasted to all correlations (assumed to be RR, LL, XX, or YY)