Changeset 752
- Timestamp:
- 11/29/05 11:08:51 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tid.py
r746 r752 15 15 r = data.get_scan('*[we]') 16 16 q = quotient(s,r) 17 18 # Set the restfreq for each IF 19 q.set_restfreqs(freqs= [23694.4700e6,23722.6336e6]) 20 q.set_unit('km/s') 21 q.set_freqframe('LSRK') 22 23 # Align frequencies - Tid doppler tracks, so this isn't really necessary 24 25 q.freq_align(perif=True) 26 q.set_unit('km/s') 27 28 # Average in time 17 29 av = average_time(q) 18 30 19 # Set the restfreq for each IF 20 av.set_restfreqs(freqs= [23694.4700e6,23722.6336e6]) 21 av.set_unit('km/s') 22 av.set_freqframe('LSRK') 31 # Do some random processing, just to test these functions 23 32 av.smooth('gauss',5) 24 33 av.scale(1.05)
Note:
See TracChangeset
for help on using the changeset viewer.