Changeset 781 for branches


Ignore:
Timestamp:
12/07/05 14:18:19 (19 years ago)
Author:
phi196
Message:

Added recalc_azael + minor mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release12/test/tid.py

    r752 r781  
    2121q.set_freqframe('LSRK')
    2222
    23 # Align frequencies - Tid doppler tracks, so this isn't really necessary
     23# Align frequencies
    2424
    2525q.freq_align(perif=True)
    26 q.set_unit('km/s')
     26
     27# Recalculate the az/el
     28
     29q.recalc_azel()
     30
     31# Correct for gain curve and opacity
     32q.gain_el()
     33q.opacity(0.075)
    2734
    2835# Average in time
    2936av = average_time(q)
     37
     38# Baseline
     39msk=av.create_mask([-70,-50],[40,60])
     40av.poly_baseline(msk,1)
     41
     42plotter.set_mode('i')
     43plotter.plot(av)
     44plotter.save('output/tid.png')
    3045
    3146# Do some random processing, just to test these functions
     
    3449av.add(0.05)
    3550
    36 # Baseline
    37 msk=av.create_mask([-70,-50],[40,60])
    38 av.poly_baseline(msk,1)
    39 
    40 plotter.plot(av)
    41 plotter.set_mode('i')
    42 plotter.save('output/tid.png')
    43 
    44 # These are currently broken as Tid does not set the elevation correctly
    45 av.gain_el()
    46 av.opacity(0.075)
    47 
    4851print "Tid test finished successfully"
Note: See TracChangeset for help on using the changeset viewer.