Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatools/sidebandseparator.py: 61%
31 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 sidebandseparator.xml #########
2##################### 78d870f5f2b127d0633b76b972cd1b81 ##############################
3from __future__ import absolute_import
4from .__casac__.sidebandseparator import sidebandseparator as _sidebandseparator
6from .errors import create_error_string
7from .typecheck import CasaValidator as _validator
8_pc = _validator( )
9from .coercetype import coerce as _coerce
12class sidebandseparator:
13 _info_group_ = """sidebandseparator"""
14 _info_desc_ = """Tool for sideband separation"""
15 ### self
16 def __init__(self, *args, **kwargs):
17 """Create a sideband separator tool.
19 """
20 self._swigobj = kwargs.get('swig_object',None)
21 if self._swigobj is None:
22 self._swigobj = _sidebandseparator()
24 def open(self, imagename=[ ]):
25 """
26 """
27 return self._swigobj.open(imagename)
29 def close(self):
30 """Close tools and write data to disk. This is a synonym for done.
32 """
33 return self._swigobj.close()
35 def done(self):
36 """Close tools and write data to disk. This is a synonym for done.
38 """
39 return self._swigobj.done()
41 def setshift(self, shift=[ ], signal=True):
42 """
43 """
44 return self._swigobj.setshift(shift, signal)
46 def setlimit(self, threshold=float(0.2)):
47 """
48 """
49 return self._swigobj.setlimit(threshold)
51 def setboth(self, getbothside=False):
52 """
53 """
54 return self._swigobj.setboth(getbothside)
56 def set_imageband_frequency(self, refpix=float(0.0), refval={'value': float(-1.0), 'unit': 'Hz'}):
57 """
58 """
59 return self._swigobj.set_imageband_frequency(refpix, refval)
61 def setsolveother(self, subtract_from_other=False):
62 """
63 """
64 return self._swigobj.setsolveother(subtract_from_other)
66 def separate(self, outfile='', overwrite=False):
67 """
68 """
69 return self._swigobj.separate(outfile, overwrite)