00001
00002
00003
00004
00005
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('_vlafillertask', [dirname(__file__)])
00017 except ImportError:
00018 import _vlafillertask
00019 return _vlafillertask
00020 if fp is not None:
00021 try:
00022 _mod = imp.load_module('_vlafillertask', fp, pathname, description)
00023 finally:
00024 fp.close()
00025 return _mod
00026 _vlafillertask = swig_import_helper()
00027 del swig_import_helper
00028 else:
00029 import _vlafillertask
00030 del version_info
00031 try:
00032 _swig_property = property
00033 except NameError:
00034 pass
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 vlafillertask(_object):
00071 """Proxy of C++ casac::vlafillertask class"""
00072 __swig_setmethods__ = {}
00073 __setattr__ = lambda self, name, value: _swig_setattr(self, vlafillertask, name, value)
00074 __swig_getmethods__ = {}
00075 __getattr__ = lambda self, name: _swig_getattr(self, vlafillertask, name)
00076 __repr__ = _swig_repr
00077 def __init__(self):
00078 """__init__(self) -> vlafillertask"""
00079 this = _vlafillertask.new_vlafillertask()
00080 try: self.this.append(this)
00081 except: self.this = this
00082 __swig_destroy__ = _vlafillertask.delete_vlafillertask
00083 __del__ = lambda self : None;
00084 def fill(self, *args, **kwargs):
00085 """
00086 fill(self, msname, inputfile, project=string(""), start=string("1970/1/1/00:00:00"), stop=string("2199/1/1/23:59:59"),
00087 centerfreq=string("1.0e18Hz"), bandwidth=string("2.0e18Hz"),
00088 bandname=string("*"), source=string(""), subarray=0, qualifier=-65536,
00089 calcode=string("#"), overwrite=False, freqtol=initialize_variant("0.0"),
00090 applytsys=True, keepautocorr=False, antnamescheme=string("new"), useday=1,
00091 keepblanks=False, evlabands=True)
00092
00093 Summary
00094 Perform fill operations
00095
00096 Input Parameters:
00097 msname name of output ms
00098 inputfile name of vla archive
00099 project name of project to extract, defaults to all projects in input
00100 start start time to extract 1970/1/1/00:00:00
00101 stop end time of extracted data 2199/1/1/23:59:59
00102 centerfreq frequency of data to extract (used along with bandwidth param) 1.0e18Hz
00103 bandwidth data around centerfreq to get out 2.0e18Hz
00104 bandname name of band to extract 4 P L C X U K Q *
00105 source name of source
00106 subarray subarray - 0 means all subarrays 0
00107 qualifier qualifier for source -65536
00108 calcode Calibrator code, 1 character only * #
00109 overwrite overwrite or append false
00110 freqtol Frequency tolerance, the default tolerance for frequency is set to be 6 times of the channel width. You may have to tweak the tolerance depending on the dataset, just depends. 0.0
00111 applytsys scale data and weights by Tsys info true
00112 keepautocorr Fill autocorrelations along with cross correlation data. If False data that have same ANTENNA1 and ANTENNA2 are ignored false
00113 antnamescheme If 'new', VLA antenna name is prepended by EVLA or VLA to distinguish between the refurbished and non-refubished antennas. 'old' will just put the VLA antenna identifier as is in the NAME column of the ANTENNA table. old new
00114 useday This option is only available at the AOC in Socorro! When filling at the AOC, select the online day file to use < 0 means any previous day up to 14 0 means from the start of the current day > 0 means starting now 1
00115 keepblanks Scans with blank (empty) source names (i.e. tipping scans) will be filled. The default is to not fill. false
00116 evlabands Use the EVLA frequencies and bandwith tolerances when specifying band codes or wavelengths. true
00117
00118 --------------------------------------------------------------------------------
00119
00120 """
00121 return _vlafillertask.vlafillertask_fill(self, *args, **kwargs)
00122
00123 vlafillertask_swigregister = _vlafillertask.vlafillertask_swigregister
00124 vlafillertask_swigregister(vlafillertask)
00125
00126
00127
00128