casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
synthesisimager.py
Go to the documentation of this file.
00001 # This file was automatically generated by SWIG (http://www.swig.org).
00002 # Version 2.0.5
00003 #
00004 # Do not make changes to this file unless you know what you are doing--modify
00005 # the SWIG interface file instead.
00006 
00007 
00008 
00009 from sys import version_info
00010 if version_info >= (2,6,0):
00011     def swig_import_helper():
00012         from os.path import dirname
00013         import imp
00014         fp = None
00015         try:
00016             fp, pathname, description = imp.find_module('_synthesisimager', [dirname(__file__)])
00017         except ImportError:
00018             import _synthesisimager
00019             return _synthesisimager
00020         if fp is not None:
00021             try:
00022                 _mod = imp.load_module('_synthesisimager', fp, pathname, description)
00023             finally:
00024                 fp.close()
00025             return _mod
00026     _synthesisimager = swig_import_helper()
00027     del swig_import_helper
00028 else:
00029     import _synthesisimager
00030 del version_info
00031 try:
00032     _swig_property = property
00033 except NameError:
00034     pass # Python < 2.2 doesn't have 'property'.
00035 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00036     if (name == "thisown"): return self.this.own(value)
00037     if (name == "this"):
00038         if type(value).__name__ == 'SwigPyObject':
00039             self.__dict__[name] = value
00040             return
00041     method = class_type.__swig_setmethods__.get(name,None)
00042     if method: return method(self,value)
00043     if (not static):
00044         self.__dict__[name] = value
00045     else:
00046         raise AttributeError("You cannot add attributes to %s" % self)
00047 
00048 def _swig_setattr(self,class_type,name,value):
00049     return _swig_setattr_nondynamic(self,class_type,name,value,0)
00050 
00051 def _swig_getattr(self,class_type,name):
00052     if (name == "thisown"): return self.this.own()
00053     method = class_type.__swig_getmethods__.get(name,None)
00054     if method: return method(self)
00055     raise AttributeError(name)
00056 
00057 def _swig_repr(self):
00058     try: strthis = "proxy of " + self.this.__repr__()
00059     except: strthis = ""
00060     return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00061 
00062 try:
00063     _object = object
00064     _newclass = 1
00065 except AttributeError:
00066     class _object : pass
00067     _newclass = 0
00068 
00069 
00070 class synthesisimager(_object):
00071     """Proxy of C++ casac::synthesisimager class"""
00072     __swig_setmethods__ = {}
00073     __setattr__ = lambda self, name, value: _swig_setattr(self, synthesisimager, name, value)
00074     __swig_getmethods__ = {}
00075     __getattr__ = lambda self, name: _swig_getattr(self, synthesisimager, name)
00076     __repr__ = _swig_repr
00077     def __init__(self): 
00078         """__init__(self) -> synthesisimager"""
00079         this = _synthesisimager.new_synthesisimager()
00080         try: self.this.append(this)
00081         except: self.this = this
00082     __swig_destroy__ = _synthesisimager.delete_synthesisimager
00083     __del__ = lambda self : None;
00084     def selectdata(self, *args, **kwargs):
00085         """
00086         selectdata(self, selpars=initialize_record("")) -> bool
00087 
00088         Summary
00089                 Select data from one MS
00090 
00091         Input Parameters:
00092                 selpars          All parameters for data selections 
00093                 
00094         --------------------------------------------------------------------------------
00095                       
00096         """
00097         return _synthesisimager.synthesisimager_selectdata(self, *args, **kwargs)
00098 
00099     def defineimage(self, *args, **kwargs):
00100         """
00101         defineimage(self, impars=initialize_record("")) -> bool
00102 
00103         Summary
00104                 Define the image coordinate systems and types
00105 
00106         Input Parameters:
00107                 impars           All parameters for image coordinate system 
00108                 
00109         --------------------------------------------------------------------------------
00110                       
00111         """
00112         return _synthesisimager.synthesisimager_defineimage(self, *args, **kwargs)
00113 
00114     def setupimaging(self, *args, **kwargs):
00115         """
00116         setupimaging(self, gridpars=initialize_record("")) -> bool
00117 
00118         Summary
00119                 Set parameters to control gridding and imaging
00120 
00121         Input Parameters:
00122                 gridpars         All parameters for imaging/gridding 
00123                 
00124         --------------------------------------------------------------------------------
00125                       
00126         """
00127         return _synthesisimager.synthesisimager_setupimaging(self, *args, **kwargs)
00128 
00129     def setupdeconvolution(self, *args, **kwargs):
00130         """
00131         setupdeconvolution(self, decpars=initialize_record("")) -> bool
00132 
00133         Summary
00134                 Set parameters to control minor cycle algorithms
00135 
00136         Input Parameters:
00137                 decpars          All parameters for deconvolution (minor cycle) 
00138                 
00139         --------------------------------------------------------------------------------
00140                       
00141         """
00142         return _synthesisimager.synthesisimager_setupdeconvolution(self, *args, **kwargs)
00143 
00144     def setupiteration(self, *args, **kwargs):
00145         """
00146         setupiteration(self, iterpars=initialize_record("")) -> record *
00147 
00148         Summary
00149                 Set parameters to control iteration mechanisms
00150 
00151         Input Parameters:
00152                 iterpars         All parameters that control iterations 
00153                 
00154         --------------------------------------------------------------------------------
00155                       
00156         """
00157         return _synthesisimager.synthesisimager_setupiteration(self, *args, **kwargs)
00158 
00159     def initmapper(self):
00160         """
00161         initmapper(self) -> bool
00162 
00163         Summary
00164                 Construct ftmachine, deconvolver, and allocate image-memory
00165         --------------------------------------------------------------------------------
00166                       
00167         """
00168         return _synthesisimager.synthesisimager_initmapper(self)
00169 
00170     def initcycles(self):
00171         """
00172         initcycles(self) -> bool
00173 
00174         Summary
00175                 Construct SkyModel and SkyEquation
00176         --------------------------------------------------------------------------------
00177                       
00178         """
00179         return _synthesisimager.synthesisimager_initcycles(self)
00180 
00181     def endloops(self, *args, **kwargs):
00182         """
00183         endloops(self, loopcontrols=initialize_record("")) -> bool
00184 
00185         Summary
00186                 End loops and restore images
00187 
00188         Input Parameters:
00189                 loopcontrols     Loop Controls 
00190                 
00191         --------------------------------------------------------------------------------
00192                       
00193         """
00194         return _synthesisimager.synthesisimager_endloops(self, *args, **kwargs)
00195 
00196     def runmajorcycle(self, *args, **kwargs):
00197         """
00198         runmajorcycle(self, loopcontrols) -> record *
00199 
00200         Summary
00201                 Run a major cycle
00202 
00203         Input Parameters:
00204                 loopcontrols     Loop Controls 
00205                 
00206         --------------------------------------------------------------------------------
00207                       
00208         """
00209         return _synthesisimager.synthesisimager_runmajorcycle(self, *args, **kwargs)
00210 
00211     def runminorcycle(self, *args, **kwargs):
00212         """
00213         runminorcycle(self, loopcontrols) -> record *
00214 
00215         Summary
00216                 Run a minor cycle
00217 
00218         Input Parameters:
00219                 loopcontrols     Loop Controls 
00220                 
00221         --------------------------------------------------------------------------------
00222                       
00223         """
00224         return _synthesisimager.synthesisimager_runminorcycle(self, *args, **kwargs)
00225 
00226     def done(self):
00227         """
00228         done(self) -> bool
00229 
00230         Summary
00231                 Close the tool
00232         --------------------------------------------------------------------------------
00233                       
00234         """
00235         return _synthesisimager.synthesisimager_done(self)
00236 
00237 synthesisimager_swigregister = _synthesisimager.synthesisimager_swigregister
00238 synthesisimager_swigregister(synthesisimager)
00239 
00240 # This file is compatible with both classic and new-style classes.
00241 
00242