Changeset 781 for branches/Release12
- Timestamp:
- 12/07/05 14:18:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release12/test/tid.py
r752 r781 21 21 q.set_freqframe('LSRK') 22 22 23 # Align frequencies - Tid doppler tracks, so this isn't really necessary23 # Align frequencies 24 24 25 25 q.freq_align(perif=True) 26 q.set_unit('km/s') 26 27 # Recalculate the az/el 28 29 q.recalc_azel() 30 31 # Correct for gain curve and opacity 32 q.gain_el() 33 q.opacity(0.075) 27 34 28 35 # Average in time 29 36 av = average_time(q) 37 38 # Baseline 39 msk=av.create_mask([-70,-50],[40,60]) 40 av.poly_baseline(msk,1) 41 42 plotter.set_mode('i') 43 plotter.plot(av) 44 plotter.save('output/tid.png') 30 45 31 46 # Do some random processing, just to test these functions … … 34 49 av.add(0.05) 35 50 36 # Baseline37 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 correctly45 av.gain_el()46 av.opacity(0.075)47 48 51 print "Tid test finished successfully"
Note:
See TracChangeset
for help on using the changeset viewer.