Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/synthesismaskhandler.py: 71%

17 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-10-31 19:10 +0000

1##################### generated by xml-casa (v2) from synthesismaskhandler.xml ###### 

2##################### d2a7cf4f5c511ddd8d3eef3eaff0e84d ############################## 

3from __future__ import absolute_import 

4from .__casac__.synthesismaskhandler import synthesismaskhandler as _synthesismaskhandler 

5 

6from .errors import create_error_string 

7from .typecheck import CasaValidator as _validator 

8_pc = _validator( ) 

9from .coercetype import coerce as _coerce 

10 

11 

12class synthesismaskhandler: 

13 _info_group_ = """synthesismaskhandler""" 

14 _info_desc_ = """tool for mask handling in sysnthesis imaging """ 

15 ### self 

16 def __init__(self, *args, **kwargs): 

17 """This is used to construct {tt synthesismaskhandler} tool. 

18 """ 

19 self._swigobj = kwargs.get('swig_object',None) 

20 if self._swigobj is None: 

21 self._swigobj = _synthesismaskhandler() 

22 

23 def pruneregions(self, inmaskname='', prunesize=float(0.0), chanflag=[ ], outmaskname=''): 

24 """ 

25 """ 

26 return self._swigobj.pruneregions(inmaskname, prunesize, chanflag, outmaskname) 

27 

28 def done(self): 

29 """ 

30 """ 

31 return self._swigobj.done() 

32