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

33 statements  

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

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

2##################### 1f8d10faaa180a62198e3dacd443e069 ############################## 

3from __future__ import absolute_import 

4from .__casac__.synthesisdeconvolver import synthesisdeconvolver as _synthesisdeconvolver 

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

13 _info_group_ = """synthesisdeconvolver""" 

14 _info_desc_ = """tool for synthesis imaging""" 

15 ### self 

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

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

18 """ 

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

20 if self._swigobj is None: 

21 self._swigobj = _synthesisdeconvolver() 

22 

23 def setupdeconvolution(self, decpars={ }): 

24 """ 

25 """ 

26 return self._swigobj.setupdeconvolution(decpars) 

27 

28 def initminorcycle(self): 

29 """ 

30 """ 

31 return self._swigobj.initminorcycle() 

32 

33 def setupmask(self): 

34 """ 

35 """ 

36 return self._swigobj.setupmask() 

37 

38 def interactivegui(self, iterbotrecord={ }): 

39 """ 

40 """ 

41 return self._swigobj.interactivegui(iterbotrecord) 

42 

43 def estimatememory(self, imsize=[ ]): 

44 """This function returns an estimate of the memory (RAM) to be used by synthesisdeconvolver tool. Need to be run after functions setdata and defineimage are done 

45 """ 

46 return self._swigobj.estimatememory(imsize) 

47 

48 def executeminorcycle(self, iterbotrecord={ }): 

49 """ 

50 """ 

51 return self._swigobj.executeminorcycle(iterbotrecord) 

52 

53 def restore(self): 

54 """ 

55 """ 

56 return self._swigobj.restore() 

57 

58 def pbcor(self): 

59 """ 

60 """ 

61 return self._swigobj.pbcor() 

62 

63 def checkrestoringbeam(self): 

64 """ 

65 """ 

66 return self._swigobj.checkrestoringbeam() 

67 

68 def done(self): 

69 """ 

70 """ 

71 return self._swigobj.done() 

72