CASA Documentation
Advanced Search…
  • Log in

Navigation

  • Home
  • Latest
  • CASA 6.1
  • CASA 5.6
  • CASA 5.5
  • CASA 5.4.1
  • CASA 5.4.0
  • CASA 5.3.0
  • CASA 5.1.2
  • CASA 5.1.1
  • CASA 5.1.0
  • CASA 5.0.0
Navigation
  • Global Task List
    • accor
    • accum
    • apparentsens
    • applycal
    • asdmsummary
    • bandpass
    • blcal
    • browsetable
    • calstat
    • caltabconvert
    • clean
    • clearcal
    • clearstat
    • concat
    • conjugatevis
    • cvel
    • cvel2
    • deconvolve
    • delmod
    • exportasdm
    • exportfits
    • exportuvfits
    • feather
    • fixplanets
    • fixvis
    • flagcmd
    • flagdata
    • flagmanager
    • fluxscale
    • fringefit
    • ft
    • gaincal
    • gencal
    • hanningsmooth
    • imcollapse
    • imcontsub
    • imdev
    • imfit
    • imhead
    • imhistory
    • immath
    • immoments
    • impbcor
    • importasap
    • importasdm
    • importatca
    • importfits
    • importfitsidi
    • importgmrt
    • importmiriad
    • importnro
    • importuvfits
    • importvla
    • impv
    • imrebin
    • imreframe
    • imregrid
    • imsmooth
    • imstat
    • imsubimage
    • imtrans
    • imval
    • imview
    • initweights
    • listcal
    • listfits
    • listhistory
    • listobs
    • listpartition
    • listvis
    • makemask
    • mstransform
    • msuvbin
    • msview
    • oldstatwt
    • partition
    • plotants
    • plotbandpass
    • plotcal
    • plotms
    • plotprofilemap
    • plotweather
    • polcal
    • predictcomp
    • rerefant
    • rmfit
    • rmtables
    • sdbaseline
    • sdcal
    • sdfit
    • sdfixscan
    • sdgaincal
    • sdimaging
    • sdpolaverage
    • sdsidebandsplit
    • sdsmooth
    • setjy
    • simalma
    • simanalyze
    • simobserve
    • slsearch
    • smoothcal
    • specfit
    • specflux
    • specsmooth
    • splattotable
    • split
      • Description
      • Parameters
      • Changelog
      • Examples
      • Developer (developer)
    • spxfit
    • statwt
    • tclean
    • tsdimaging
    • uvcontsub
    • uvcontsub3
    • uvmodelfit
    • uvsub
    • viewer
    • virtualconcat
    • vishead
    • visstat
    • widebandpbcor
    • wvrgcal
  • Global Tool List
  • CASA Fundamentals
  • Using CASA
  • Calibration & Visibilities
  • Imaging & Analysis
  • Pipeline
  • Simulations
  • Parallel Processing
  • Memo Series
  • CASA Development


Examples

task examples

Split with field selections

Create a new MS with field ID 3 and all field names starting with 4C.

split(vis='example.ms',outputvis='test.ms',field='3,4C*')

Split with spectral window and channel selections

Split channels 3 through 64 for all SPW IDs.

split(vis='example.ms', outputvis='test.ms', spw='*:3~64')

Split with multiple channel selection. The following example will select channels 4 through 13 and 10 through 59 inclusive from spw 8.

split('example.ms',outputvis='test.ms',spw='8:4~13;10~59')

Split with multiple spws and channel selections. The following example will select all channels from spw 4, channels 4 through 59 inclusive from spw 7. It will also select channels 4 through 13 and 10 through 59 from spw 8. The output MS will have three spectral windows, reindexed from 0 through 2.

split('example.ms',outputvis='test.ms',spw='4,7:4~59,8:4~13;10~59')

On the other hand, the following example will select only channels 4 through 59 from all three spectral windows 4, 5 and 6.

split('example.ms',outputvis='test.ms',spw='4~6:4~59')

 

Split with antenna selections

Split using antenna selection. Non-negative integers are assumed to be antenna indices, and anything else is taken as an antenna name. The following example will split the baseline between antennas VA05 and VA06.

split(vis='example.ms', outputvis='test.ms', antenna='VA05&VA06')

Channel Averaging

Average 2 channels of first selected SPW and 3 channels in second SPW.

split(vis='example.ms', outputvis='test.ms',spw='0,1', width=[2,3])

Time Averaging

Average in time across scans. The following example can be useful when the scan number goes up with each integration as in many WSRT MSs.

split(vis='example.ms', outputvis='test.ms',timebin='20s', combine='scan')

 

The Plone® Open Source CMS/WCM is © 2000-2022 by the Plone Foundation and friends. Distributed under the GNU GPL license.
  • Site Map
  • Accessibility
  • Contact
Powered by Plone & Python