pipeline.h.cli.gotasks.h_mssplit

pipeline.h.cli.gotasks.h_mssplit = <pipeline.h.cli.gotasks.h_mssplit._h_mssplit object>

h_mssplit —- Select data from calibrated MS(s) to form new MS(s) for imaging

Select data from calibrated MS(s) to form new MS(s) for imaging

Create new MeasurementSets for imaging from the corrected column of the input MeasurementSet. By default all science target data is copied to the new MS. The new MeasurementSet is not re-indexed to the selected data in the new MS will have the same source, field, and spw names and ids as it does in the parent MS.

If pipeline mode is ‘getinputs’ then None is returned. Otherwise the results object for the pipeline task is returned.

——— parameter descriptions ———————————————

vis The list of input MeasurementSets to be transformed. Defaults to the

list of MeasurementSets specified in the pipeline import data task. default ‘’: Split all MeasurementSets in the context. Can only use with pipelinemode=’interactive’ example: ‘ngc5921.ms’, [‘ngc5921a.ms’, ngc5921b.ms’, ‘ngc5921c.ms’]

outputvis The list of output split MeasurementSets. The output list must

be the same length as the input list and the output names must be different from the input names. default ‘’, The output name defaults to <msrootname>_split.ms Can only use with pipelinemode=’interactive’ example: ‘ngc5921.ms’, [‘ngc5921a.ms’, ngc5921b.ms’, ‘ngc5921c.ms’]

field Set of data selection field names or ids, ‘’ for all intent Select intents to split

default: ‘’, All data is selected. Can only use with pipelinemode=’interactive’ example: ‘TARGET’

spw Select spectral windows to split.

Can only use with pipelinemode=’interactive’ default: ‘’, All spws are selected example: ‘9’, ‘9,13,15’

datacolumn Select spectral windows to split. The standard CASA options are supported.

Can only use with pipelinemode=’interactive’ example: ‘corrected’, ‘model’

chanbin The channel binning factor. 1 for no binning, otherwise 2, 4, 8, or 16.

Can only use with pipelinemode=’interactive’ example: 2, 4

timebin The time binning factor. ‘0s’ for no binning

Can only use with pipelinemode=’interactive’ example: ’10s’ for 10 second binning

replace If a split was performed delete the parent MS and remove it from the context.

Can only use with pipelinemode=’interactive’

pipelinemode The pipeline operating mode. In ‘automatic’ mode the pipeline

determines the values of all context defined pipeline inputs automatically. In ‘interactive’ mode the user can set the pipeline context defined parameters manually. In ‘getinputs’ mode the user can check the settings of all pipeline parameters without running the task.

dryrun Run the task (False) or display the command(True) acceptresults Add the results to the pipeline context

——— examples ———————————————————–

Examples

  1. Create a 4X channel smoothed output MS from the input MS

h_mssplit(chanbin=4)