MMS Hot Plasma Composition Analyzer: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 60: | Line 60: | ||
<div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | <div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | ||
/projects/ | /projects/mms/examples/advanced/mms_part_products_crib.pro | ||
</div> | </div> | ||
Line 82: | Line 82: | ||
For example usage see: | For example usage see: | ||
<div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | <div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | ||
/projects/ | /projects/mms/examples/advanced/mms_slice2d_hpca_crib.pro | ||
</div> | </div> | ||
Line 96: | Line 96: | ||
For example usage see: | For example usage see: | ||
<div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | <div style="border: 1px solid LightGray; background-color:#F9F9F9; padding: 2px 10px; margin-left: 5px; overflow:hidden;"> | ||
/projects/ | /projects/mms/examples/advanced/mms_isee_3d_crib_basic.pro | ||
</div> | </div> | ||
Revision as of 16:49, 19 July 2016
The MMS HPCA measures the distribution of hydrogen, helium, and oxygen ions using an electrostatic analyzer. SPEDAS provides command line and GUI access to HPCA data.
Release notes can be found here:
https://lasp.colorado.edu/galaxy/display/mms/HPCA+Release+Notes
For basic command line access see:
HPCA moments
To load and plot HPCA moments for MMS1 on March 7, 2016:
HPCA spectrograms
To load and plot HPCA energy spectrograms for MMS1 on March 7, 2016:
SPEDAS derived products
- Main article: MMS derived particle products
Moments and spectrograms can be calculated from the full 3D distributions using general SPEDAS routines. This allows for various options, such as energy and angle ranges, to be set manually for the calculation.
For example usage see:
Moments
When producing moments all data products are calculated simultaneously for a particular input. Spacecraft potential and magnetic field are specified via supplementary tplot variables.
Specrograms
Angular spectrograms are calculated in spacecraft and field-aligned coordinates. Phi (azimuth) and theta (elevation) spectra are calculated in spacecraft coordinates. Gyrophase (azimuth) and pitch angle (co-lat) spectra are calculated in field-aligned coordinates. Magnetic field and ephemeris data are specified via supplementary tplot variables. Energy spectrograms are also available.
2D slices
- Main article: SPEDAS particle distribution slices
Slices of full 3D particle data can be visualized as smooth contours or by angle/energy bin.
For example usage see:
Visualizing 3D Distribution Functions
- Main article: ISEE_3D
SPEDAS can also be used for visualizing MMS 3D distribution functions from HPCA using the ISEE_3D tool, developed by the Institute for Space-Earth Environmental Research (ISEE), Nagoya University, Japan.
For example usage see:
Example
Load data into tplot
MMS> trange = ['2015-10-20/05:56', '2015-10-20/05:58']
MMS> mms_load_hpca, probe='1', trange=trange, data_rate='srvy', datatype='ion'
Load the data into standard structures
MMS> dist = mms_get_dist('mms1_hpca_hplus_phase_space_density', trange=trange)
MMS> data = spd_dist_to_hash(dist) ;convert structures to isee_3d data model
Load the magnetic field (cyan vector) and velocity (yellow vector) support data
MMS> mms_load_fgm, probe=1, trange=trange, level='l2'
MMS> mms_load_hpca, probe=1, trange=trange, data_rate='srvy', datatype='moments'
Once the GUI is opened, select PSD from Units menu
MMS> isee_3d, data=data, trange=trange, bfield='mms1_fgm_b_gse_srvy_l2_bvec', velocity='mms1_hpca_hplus_ion_bulk_velocity'
Working with the Data in IDL structures
To get the data out of a tplot variable and into an IDL structure, use get_data:
MMS> get_data, 'mms1_hpca_azimuth_angles_per_ev_degrees', data=azimuth_angles
MMS> help, azimuth_angles, /structure
Structure <2283cae0>, 5 tags, length=624902264, data length=624902262, refs=1:
X DOUBLE Array[4843]
Y DOUBLE Array[4843, 63, 16, 16]
V1 UINT Array[16]
V2 DOUBLE Array[16]
V3 UINT Array[63]
In this example, it's not clear which of the indices of azimuth_angles.Y corresponds to azimuths and which corresponds to anodes. To find out, use print_tinfo:
MMS> print_tinfo, 'mms1_hpca_azimuth_angles_per_ev_degrees'
Variable: mms1_hpca_azimuth_angles_per_ev_degrees
Structure <2aedf1c0>, 5 tags, length=158709648, data length=158709646, refs=1:
X DOUBLE Array[1230]
Y DOUBLE Array[1230, 63, 16, 16]
V1 UINT Array[16]
V2 DOUBLE Array[16]
V3 UINT Array[63]
Data format: [Epoch_Angles, mms1_hpca_energy_step_number, mms1_hpca_polar_anode_number, mms1_hpca_azimuth_index]
v1: mms1_hpca_azimuth_index
v2: mms1_hpca_polar_anode_number
v3: mms1_hpca_energy_step_number