Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/mstransformer.py: 96%
23 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 17:39 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 17:39 +0000
1##################### generated by xml-casa (v2) from mstransformer.xml #############
2##################### 805829d3443acfecfe57cff868b76a61 ##############################
3from __future__ import absolute_import
4from .__casac__.mstransformer import mstransformer as _mstransformer
6from .errors import create_error_string
7from .typecheck import CasaValidator as _validator
8_pc = _validator( )
9from .coercetype import coerce as _coerce
12class mstransformer:
13 _info_group_ = """mstransformer"""
14 _info_desc_ = """Tool to apply spw and frame transformations in MS"""
15 ### self
16 def __init__(self, *args, **kwargs):
17 """Create a {tt mstransformer} tool, and initialize some variables.
18 """
19 self._swigobj = kwargs.get('swig_object',None)
20 if self._swigobj is None:
21 self._swigobj = _mstransformer()
23 def done(self):
24 """
25 """
26 return self._swigobj.done()
28 def config(self, pars={ }):
29 """
30 """
31 return self._swigobj.config(pars)
33 def open(self):
34 """It assumes that mt.config() was run before.
35 """
36 return self._swigobj.open()
38 def run(self):
39 """Execute the tool and apply the transformations.
40 """
41 return self._swigobj.run()
43 def mergespwtables(self, filenames=[ ]):
44 """Merge the spw sub-tables of a list of subMSs.
46 """
47 return self._swigobj.mergespwtables(filenames)