projects/maven/swea/
swe_engy_snap.pro
Routines
top source swe_engy_snap
swe_engy_snap, units=units, keepwins=keepwins, archive=archive, spec=spec, ddd=ddd, abins=abins, dbins=dbins, sum=sum, pot=pot, pdiag=pdiag, pxlim=pxlim, mb=mb, kap=kap, mom=mom, scat=scat, erange=erange, noerase=noerase, thresh=thresh, scp=scp
PROCEDURE: swe_engy_snap PURPOSE: Plots energy spectrum snapshots in a separate window for times selected with the cursor in a tplot window. Hold down the left mouse button and slide for a movie effect. This procedure depends on running swe_plot_dpu first, which unpacks the A4 packets, creating 16 energy spectra per packet. If housekeeping data exist (almost always the case), then they are displayed as text in a small separate window. USAGE: swe_engy_snap INPUTS: KEYWORDS: UNITS: Plot the data in these units. See mvn_swe_convert_units. Default = 'eflux'. KEEPWINS: If set, then don't close the snapshot window(s) on exit. ARCHIVE: If set, show shapshots of archive data (A5). SPEC: Named variable to hold the energy spectrum at the last time selected. SUM: If set, use cursor to specify time ranges for averaging. POT: Overplot an estimate of the spacecraft potential. Must run mvn_swe_sc_pot first. PDIAG: Plot potential estimator in a separate window. PXLIM: X limits (Volts) for diagnostic plot. MB: Perform a Maxwell-Boltzmann fit to determine density and temperature. Uses a moment calculation to determine the halo density, which is defined as the high energy residual after subtracting the best-fit Maxwell-Boltzmann. KAP: Instead of the halo moment calculation, fit the halo with a kappa function to estimate halo density. MOM: Instead of fitting the core with a Maxwell-Boltzmann, use a moment calculation for all energies above the spacecraft potential. ERANGE: Energy range for computing the moment. Only effective when keyword MOM is set. SCAT: Plot the scattered photoelectron population, which is defined as the low-energy residual after subtracting the best-fit Maxwell-Boltzmann. DDD: Create an energy spectrum from the nearest 3D spectrum and plot for comparison. ABINS: Anode bin mask (16 elements: 0=off, 1=on). Default = all on. DBINS: Deflector bin mask (6 elements: 0=off, 1=on). Default = all on. NOERASE: Overplot all spectra after the first. $LastChangedBy: dmitchell $ $LastChangedDate: 2014-11-02 14:44:54 -0800 (Sun, 02 Nov 2014) $ $LastChangedRevision: 16114 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/swea/swe_engy_snap.pro $ CREATED BY: David L. Mitchell 07-24-12
Keywords
- units
- keepwins
- archive
- spec
- ddd
- abins
- dbins
- sum
- pot
- pdiag
- pxlim
- mb
- kap
- mom
- scat
- erange
- noerase
- thresh
- scp
File attributes
Modification date: | Fri Nov 21 06:43:11 2014 |
Lines: | 342 |