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

15 statements  

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

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

2##################### d56356a215967c4b7f57f9c4ec48c762 ############################## 

3from __future__ import absolute_import 

4from .__casac__.wvr import wvr as _wvr 

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 wvr: 

13 _info_group_ = """wvr""" 

14 _info_desc_ = """Operate on ALMA Water Vapour Radiometer (WVR) data""" 

15 ### self 

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

17 """ 

18 """ 

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

20 if self._swigobj is None: 

21 self._swigobj = _wvr() 

22 

23 def gcal(self, vis='', output='', toffset=float(0.), nsol=int(1), segsource=False, reverse=False, reversespw=[ ], disperse=False, cont=False, wvrflag='', sourceflag=[ ], statfield=[ ], statsource=[ ], tie=[ ], smooth=int(1), scale=float(1.0), maxdistm=float(500.), minnumants=int(2), mingoodfrac=float(0.8), usefieldtab=False, spw=[ ], wvrspw=[ ], refant='', offsets='', rseed=int(0), logfile='wvrgcal.log'): 

24 """Generate a gain table based on Water Vapour Radiometer data 

25  

26 """ 

27 return self._swigobj.gcal(vis, output, toffset, nsol, segsource, reverse, reversespw, disperse, cont, wvrflag, sourceflag, statfield, statsource, tie, smooth, scale, maxdistm, minnumants, mingoodfrac, usefieldtab, spw, wvrspw, refant, offsets, rseed, logfile) 

28