Coverage for /wheeldirectory/casa-6.7.0-11-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/synthesisnormalizer.py: 59%

46 statements  

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

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

2##################### 289960d5d801f54baaf4e5fc1ccad960 ############################## 

3from __future__ import absolute_import 

4from .__casac__.synthesisnormalizer import synthesisnormalizer as _synthesisnormalizer 

5 

6from .errors import create_error_string 

7from .typecheck import CasaValidator as _validator 

8_pc = _validator( ) 

9from .coercetype import coerce as _coerce 

10from .synthesisimstore import synthesisimstore as _wrap_synthesisimstore 

11 

12class synthesisnormalizer: 

13 _info_group_ = """synthesisnormalizer""" 

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

15 ### self 

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

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

18 """ 

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

20 if self._swigobj is None: 

21 self._swigobj = _synthesisnormalizer() 

22 

23 def setupnormalizer(self, normpars={ }): 

24 """ 

25 """ 

26 return self._swigobj.setupnormalizer(normpars) 

27 

28 def gatherweightdensity(self): 

29 """ 

30 """ 

31 return self._swigobj.gatherweightdensity() 

32 

33 def scatterweightdensity(self): 

34 """ 

35 """ 

36 return self._swigobj.scatterweightdensity() 

37 

38 def gatherpsfweight(self): 

39 """ 

40 """ 

41 return self._swigobj.gatherpsfweight() 

42 

43 def gatherresidual(self): 

44 """ 

45 """ 

46 return self._swigobj.gatherresidual() 

47 

48 def dividepsfbyweight(self): 

49 """ 

50 """ 

51 return self._swigobj.dividepsfbyweight() 

52 

53 def makepsfbeamset(self): 

54 """ 

55 """ 

56 return self._swigobj.makepsfbeamset() 

57 

58 def normalizeprimarybeam(self): 

59 """ 

60 """ 

61 return self._swigobj.normalizeprimarybeam() 

62 

63 def divideresidualbyweight(self, singledish=False): 

64 """ 

65 """ 

66 return self._swigobj.divideresidualbyweight(singledish) 

67 

68 def dividemodelbyweight(self): 

69 """ 

70 """ 

71 return self._swigobj.dividemodelbyweight() 

72 

73 def multiplymodelbyweight(self): 

74 """ 

75 """ 

76 return self._swigobj.multiplymodelbyweight() 

77 

78 def scattermodel(self): 

79 """ 

80 """ 

81 return self._swigobj.scattermodel() 

82 

83 def getimstore(self): 

84 """ 

85 """ 

86 return _wrap_synthesisimstore(swig_object=self._swigobj.getimstore()) 

87 

88 def unlockimages(self): 

89 """ 

90 """ 

91 return self._swigobj.unlockimages() 

92 

93 def setimstore(self, imstore=None): 

94 """ 

95 """ 

96 return self._swigobj.setimstore(imstore._swigobj if hasattr(imstore,'_swigobj') else imstore) 

97 

98 def done(self): 

99 """ 

100 """ 

101 return self._swigobj.done() 

102