- Timestamp:
- 09/16/10 19:09:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r1920 r1928 337 337 Parameters: 338 338 339 filename: the name of a file to write the putput to339 filename: the name of a file to write the output to 340 340 Default - no file output 341 341 … … 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: … … 1037 1038 1038 1039 clipoutside: True for flagging data outside the range [dthres:uthres]. 1039 False for glagging data inside the range.1040 False for flagging data inside the range. 1040 1041 1041 1042 unflag: if True, unflag the data. … … 1283 1284 """\ 1284 1285 Set or replace the restfrequency specified and 1285 If the 'freqs' argument holds a scalar,1286 if the 'freqs' argument holds a scalar, 1286 1287 then that rest frequency will be applied to all the selected 1287 1288 data. If the 'freqs' argument holds … … 1417 1418 Parameters: 1418 1419 1419 filename: The name 1420 filename: The name of the file to save the history to. 1420 1421 1421 1422 """ … … 1433 1434 out += "Function: %s\n Parameters:" % (func) 1434 1435 for i in items: 1436 if i == '': 1437 continue 1435 1438 s = i.split("=") 1436 1439 out += "\n %s = %s" % (s[0], s[1]) … … 1521 1524 eta: the aperture efficiency 1522 1525 1523 d: the geom tric diameter (metres)1526 d: the geometric diameter (metres) 1524 1527 1525 1528 insitu: if False a new scantable is returned. … … 2074 2077 insitu=None, rows=None): 2075 2078 """\ 2076 Return a scan which has been baselined (all rows) by a polynomial. 2079 Return a scan which has been baselined (all rows by default) 2080 by a polynomial. 2077 2081 Spectral lines are detected first using linefinder and masked out 2078 2082 to avoid them affecting the baseline solution. … … 2319 2323 """\ 2320 2324 2321 Return a scan where all spectra are scaled by the give 'factor'2325 Return a scan where all spectra are scaled by the given 'factor' 2322 2326 2323 2327 Parameters:
Note:
See TracChangeset
for help on using the changeset viewer.