Changeset 313 for trunk/python
- Timestamp:
- 01/27/05 21:53:42 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapmath.py
r305 r313 204 204 return 205 205 206 def align(scan, reftime=None, insitu=None):207 """ 208 Return a scan where all rows have been aligned in velocity. The209 velocity reference frame (e.gh. LSRK), unit and doppler (e.g. OPTICAL)210 are those set by functions set_unit andset_freqframe.206 def freq_align(scan, reftime=None, insitu=None): 207 """ 208 Return a scan where all rows have been aligned in frequency. The 209 alignment frequency frame (e.g. LSRK) is that set by function 210 set_freqframe. 211 211 scan: a scantable 212 212 reftime: reference time to align at. By default, the time of … … 219 219 if insitu is None: insitu = rcParams['insitu'] 220 220 if not insitu: 221 from asap._asap import align as _align221 from asap._asap import freq_align as _align 222 222 return scantable(_align(scan, reftime)) 223 223 else: 224 from asap._asap import align_insitu as _align224 from asap._asap import freq_align_insitu as _align 225 225 _align(scan, reftime) 226 226 return
Note:
See TracChangeset
for help on using the changeset viewer.