Changeset 752 for trunk/test


Ignore:
Timestamp:
11/29/05 11:08:51 (19 years ago)
Author:
phi196
Message:

Added velocity_align

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tid.py

    r746 r752  
    1515r = data.get_scan('*[we]')
    1616q = quotient(s,r)
     17
     18# Set the restfreq for each IF
     19q.set_restfreqs(freqs= [23694.4700e6,23722.6336e6])
     20q.set_unit('km/s')
     21q.set_freqframe('LSRK')
     22
     23# Align frequencies - Tid doppler tracks, so this isn't really necessary
     24
     25q.freq_align(perif=True)
     26q.set_unit('km/s')
     27
     28# Average in time
    1729av = average_time(q)
    1830
    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
    2332av.smooth('gauss',5)
    2433av.scale(1.05)
Note: See TracChangeset for help on using the changeset viewer.