projects/maven/swea/
mvn_swe_sweep.pro
Routines
top source mvn_swe_sweep
mvn_swe_sweep, result=result, prop=prop, doplot=doplot, tabnum=tabnum, Xmax=Xmax, V0scale=V0scale, Vrange=Vrange, Erange=Erange, old_def=old_def, chksum=chksum, V0tweak=V0tweak, dumpfile=dumpfile
PROCEDURE: mvn_swe_sweep PURPOSE: Generates a SWEA sweep table exactly as done in flight software (same digital commands, same checksum). This table is combined with calibration data to determine energy sweep and deflection angle. Six predefined tables are provided via keyword TABNUM. These correspond to tables as loaded into flight software. KEYWORDS: RESULT: Named variable to hold result structure: analyzer, deflector, and V0 sweeps, energy/angle sweeps, energy resolution (dE/E) and geometric factor vs. energy. DOPLOT: Plot Va, Vd, V0, E, dE/E, X, TH, and GFW for one 2-sec sweep. PROP: Print the table properties: checksum, energy and angle ranges. TABNUM: Table number corresponding to predefined settings. Currently, there are six tables defined: 1 : Xmax = 6., Vrange = [0.75, 750.], V0scale = 1., /old_def primary table for ATLO and Inner Cruise (first turnon) -64 < Elev < +66 ; 7 < E < 4650 Chksum = 'CC'X 2 : Xmax = 6., Vrange = [0.75, 375.], V0scale = 1., /old_def alternate table for ATLO and Inner Cruise (never used) -64 < Elev < +66 ; 7 < E < 2340 Chksum = '1E'X 3 : Xmax = 5.5, Vrange = [3./Ka, 750.], V0scale = 0., /old_def primary table for Outer Cruise -59 < Elev < +61 ; 3 < E < 4630 Chksum = 'C0'X GSEOS svn rev 8360 4 : Xmax = 5.5, Vrange = [2./Ka, 750.], V0scale = 1., /old_def alternate table for Outer Cruise -59 < Elev < +61 ; 3 < E < 4650 Chksum = 'DE'X GSEOS svn rev 8361 5 : Xmax = 5.5, Vrange = [3./Ka, 750.], V0scale = 0. primary table for Transition and Science -59 < Elev < +61 ; 3 < E < 4630 Chksum = 'CC'X GSEOS svn rev 8481 6 : Xmax = 5.5, Vrange = [2./Ka, 750.], V0scale = 1. alternate table for Transition and Science -59 < Elev < +61 ; 3 < E < 4650 Chksum = '82'X GSEOS svn rev 8482 Otherwise, use the following keywords to define the sweep. CHKSUM: Use checksum to determine which table to use. Only works for table numbers >= 3. Xmax: Maximum ratio of deflector voltage to analyzer voltage. (Controls maximum deflection angle.) Default = 6. V0scale: Scale factor for V0 (a number from 0 to 1). |V0| = E/2 < (25*V0scale) Volts Default = 1. Vrange: Voltage range of sweep (commanded). Default = [0.75, 750.]. Erange: Energy range of sweep (commanded). Takes precendence over Vrange. This keyword allows one to set the energy range, correcting for V0, if necessary. No default. old_def: Use the old method for sweeping the deflectors. This is valid for ground tests, early cruise checkout (Dec 6-7, 2013), and outer cruise. DUMPFILE: Saves an ascii hex dump to this named file, for comparison with PFDPU EEPROM dump. $LastChangedBy: dmitchell $ $LastChangedDate: 2014-10-31 14:15:03 -0700 (Fri, 31 Oct 2014) $ $LastChangedRevision: 16106 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/swea/mvn_swe_sweep.pro $ CREATED BY: David L. Mitchell 2014-01-03 FILE: mvn_swe_sweep.pro
Keywords
- result
- prop
- doplot
- tabnum
- Xmax
- V0scale
- Vrange
- Erange
- old_def
- chksum
- V0tweak
- dumpfile
File attributes
Modification date: | Fri Nov 21 06:43:11 2014 |
Lines: | 296 |