Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/sakura.py: 94%
17 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 sakura.xml ####################
2##################### 71e937c074a8bc9664833fc5a4e0cd34 ##############################
3from __future__ import absolute_import
4from .__casac__.sakura import sakura as _sakura
6from .errors import create_error_string
7from .typecheck import CasaValidator as _validator
8_pc = _validator( )
9from .coercetype import coerce as _coerce
12class sakura:
13 _info_group_ = """sakura"""
14 _info_desc_ = """New single dish tool interface using sakura"""
15 ### self
16 def __init__(self, *args, **kwargs):
17 """This is used to construct an {tt sakura} tool.
18 """
19 self._swigobj = kwargs.get('swig_object',None)
20 if self._swigobj is None:
21 self._swigobj = _sakura()
23 def initialize_sakura(self, level='WARN'):
24 """This function returns True/False based on an result of initialize
25 """
26 return self._swigobj.initialize_sakura(level)
28 def cleanup_sakura(self):
29 """This function returns True/False based on an result of finalize
30 """
31 return self._swigobj.cleanup_sakura()