Changeset 1938
- Timestamp:
- 09/22/10 12:13:04 (14 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/asap4casa3.1.0 (added) merged: 1935-1936
- Property svn:mergeinfo changed
-
trunk/Makefile
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/SConstruct
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/apps
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/external-alma
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/external-alma/atnf/pks/pks_maths.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/getsvnrev.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/python
- Property svn:mergeinfo changed
/branches/asap4casa3.1.0/python (added) merged: 1935-1936
- Property svn:mergeinfo changed
-
trunk/python/asapfitter.py
r1927 r1938 87 87 if kwargs.has_key('poly'): 88 88 self.fitfunc = 'poly' 89 self.fitfuncs = ['poly'] 89 90 n = kwargs.get('poly') 90 self.components = [n ]91 self.components = [n+1] 91 92 self.uselinear = False 92 93 elif kwargs.has_key('lpoly'): 93 94 self.fitfunc = 'poly' 95 self.fitfuncs = ['lpoly'] 94 96 n = kwargs.get('lpoly') 95 self.components = [n ]97 self.components = [n+1] 96 98 self.uselinear = True 97 99 elif kwargs.has_key('gauss'): -
trunk/python/scantable.py
r1931 r1938 377 377 378 378 def set_spectrum(self, spec, rowno): 379 """ Return the spectrum for the current row in the scantable as a list.379 """Set the spectrum for the current row in the scantable. 380 380 381 381 Parameters: … … 738 738 """\ 739 739 Get a list of time stamps for the observations. 740 Return a datetime object for each integration time stamp in the scantable. 740 Return a datetime object or a string (default) for each 741 integration time stamp in the scantable. 741 742 742 743 Parameters: … … 1284 1285 """\ 1285 1286 Set or replace the restfrequency specified and 1286 If the 'freqs' argument holds a scalar,1287 if the 'freqs' argument holds a scalar, 1287 1288 then that rest frequency will be applied to all the selected 1288 1289 data. If the 'freqs' argument holds … … 1434 1435 out += "Function: %s\n Parameters:" % (func) 1435 1436 for i in items: 1437 if i == '': 1438 continue 1436 1439 s = i.split("=") 1437 1440 out += "\n %s = %s" % (s[0], s[1]) … … 2306 2309 """\ 2307 2310 2308 Return a scan where all spectra are scaled by the give 'factor'2311 Return a scan where all spectra are scaled by the given 'factor' 2309 2312 2310 2313 Parameters: -
trunk/src
- Property svn:mergeinfo changed (with no actual effect on merging)
-
trunk/src/SConscript
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.