Changeset 276 for trunk/python
- Timestamp:
- 01/24/05 12:34:32 (20 years ago)
- Location:
- trunk/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/__init__.py
r274 r276 253 253 get_time - get the timestamps of the integrations 254 254 get_unit - get the currnt unit 255 set_unit - set the unit to be used from this point on255 set_unit - set the abcissa unit to be used from this point on 256 256 get_abcissa - get the abcissa values and name for a given 257 257 row (time) 258 258 set_freqframe - set the frame info for the Spectral Axis 259 259 (e.g. 'LSRK') 260 set_doppler - set the doppler to be used from this point on 260 261 set_instrument - set the instrument name 261 262 get_fluxunit - get the brightness flux unit -
trunk/python/scantable.py
r256 r276 348 348 inf = list(self._getcoordinfo()) 349 349 inf[0] = unit 350 self._setcoordinfo(inf) 351 if self._p: self.plot() 352 353 def set_doppler(self, doppler='RADIO'): 354 """ 355 Set the doppler for all following operations on this scantable. 356 Parameters: 357 doppler: One of 'RADIO', 'OPTICAL', 'Z', 'BETA', 'GAMMA' 358 """ 359 360 inf = list(self._getcoordinfo()) 361 inf[2] = doppler 350 362 self._setcoordinfo(inf) 351 363 if self._p: self.plot()
Note:
See TracChangeset
for help on using the changeset viewer.