Changeset 269
- Timestamp:
- 01/23/05 19:24:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapmath.py
r258 r269 195 195 from asap._asap import gainel_insitu as _gainEl 196 196 _gainEl(scan, poly, filename, method, allaxes) 197 return 198 199 def align(scan, insitu=None): 200 """ 201 scan: a scantable 202 insitu: if False a new scantable is returned. 203 Otherwise, the scaling is done in-situ 204 The default is taken from .asaprc (False) 205 """ 206 if insitu is None: insitu = rcParams['insitu'] 207 if not insitu: 208 from asap._asap import align as _align 209 return scantable(_align(scan)) 210 else: 211 from asap._asap import align_insitu as _align 212 _align(scan) 197 213 return 198 214
Note:
See TracChangeset
for help on using the changeset viewer.