This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Data Analysis ToolsData Analysis Tools• Higher level products and visualization
– Particle spectrograms in various coordinates.– Code also in class materials : idl/thm crib spectrograms proCode also in class materials : idl/thm_crib_spectrograms.pro
• DSL coordinates– Energy, theta/phi angle spectrograms– ;DSL coordinates– ; energy spectrogram– thm part getspec, probe=['b'], trange=['07-03-23/11:10','07-03-23/11:30'], $t _pa t_getspec, p obe [ b ], t a ge [ 0 03 3/ 0 , 0 03 3/ 30 ], $– data_type=['psif'],/energy, $– phi=[-135,-45], theta=[-45,45], erange=[25000,500000],suff='_dawn' – thm_part_getspec, probe=['b'], trange=['07-03-23/11:10','07-03-23/11:30'], $– data_type=['psif'],/energy, $– phi=[45,135], theta=[-45,45], erange=[25000,500000],suff='_dusk' – ; phi spectrogram– thm_part_getspec, probe=['b'], trange=['07-03-23/11:10','07-03-23/11:30'], $– data_type=['peir'],angle='phi', $– phi=[0,360], theta=[-90,90], erange=[1.5e4,2.5e4]– ; theta spectrogram
Data Analysis Tools• Higher level products and visualization
– Particle spectrograms in various coordinates• FAC coordinates (field aligned) (Look in: thm_fac_matrix_make)
– other_dimension:» ; 'Xgse', (DEFAULT) translates from gse or gsm into FAC» ; Definition(works on GSE, or GSM): X Axis = on plane defined by Xgse - Z» ; Second coordinate definition: Y = Z x X gse» ; Second coordinate definition: Y = Z x X_gse» ; Third coordinate, X completes orthogonal RHS» ; 'Rgeo',translate from geo into FAC using radial position vector» ; Rgeo is radial position vector, positive radialy outwards.» ; Second coordinate definition: Y = Z x Rgeo (westward)» ; Third coordinate, X completes orthogonal RHS XYZ.» ; 'mRgeo' opposite to above» ; mRgeo , opposite to above » ; mRgeo is radial position vector, positive radially inwards.» ; 'Phigeo', translate into FAC using azimuthal position vector» ; Phigeo is the azimuthal geo position vector, positive Eastward» ; First coordinate definition: X = Phigeo x Z (positive outwards)» ; Second coordinate, Y ~ Phigeo (eastward) completes orthogonal RHS XYZ» ; 'mPhigeo' opposite to above» ; 'mPhigeo', opposite to above» ; Second coordinate, Y ~ mPhigeo (Westward) completes orthogonal RHS XYZ» ; 'Phism', translate into FAC using azimuthal Solar Magnetospheric vector.» ; Phism is "phi" vector of satellite position in SM coordinates.» ; Y Axis = on plane defined by Phism-Z, normal to Z» ; Second coordinate definition: X = Phism x Z; Third completes orthogonal RHS;
'mPhism' opposite to abo e; 'mPhism', opposite to above» ; mPhism is minus "phi" vector of satellite position in SM coordinates.» ; 'Ygsm', translate into FAC using cartesian Ygsm position as other dimension.» ; Y Axis on plane defined by Ygsm and Z» ; First coordinate definition: X = Ygsm x Z» ; Third completes orthogonal RHS XYZ
5
timespan,'7 6 8/08:00',16,/hourssc='c'
ESA penetrating radiation cleanupsdate='7 6 8/08:00'edate='7 6 8/24:00'thm_load_state,probe=sc,/get_suppthm_load_fit,probe=sc,data='fgs',coord='gsm',suff='_gsm'thm_load_fit,probe=sc,data='fgs',coord='dsl',suff='_dsl'thm_load_mom,probe=sc ; L2: onboard processed momsthm_load_esa,probe=sc ; L2: ground processed gmoms, omni spectrathm_load_sst,level=1,probe=sc;; CORRECT DENSITIES; load L0 omni spectra, all ESA data in memorythm_load_esa_pkt,probe=sc ;; PE?R MOMS/SPECTRA; Remove penetrating radiationtrange=[sdate,edate]calc," 'thc_peif_en_eflux_before'='thc_peif_en_eflux' "thm_part_moments, probe = sc, instrum = 'peif‘, $
SST Products• Products: Full Reduced (Burst is same as full)• Products: Full, Reduced (Burst is same as full)
– Full: 16E x 64A– Reduced: 16E x 6A , orReduced: 16E x 6A , or
16E x 1A (omni)• Modes: Slow Survey, Fast Survey, Particle
Burst• Slow Survey:
– Full distributions (ions and electrons) at 5min resolution( )– Reduced, omnidirectional distributions: every spin
• Fast Survey:– Ions: Full distributions every spin– Electrons: Reduced distributions (16E x 6A) every spin
• Burst:– Ions: same as above– Electrons: Full distributions every spin
9
Data Analysis Tools• Pitfalls• Pitfalls
– Sun contamination• ; Sun contamination is masked on board but often fails
; Use keyword: mask_remove to removed masked bins and interpolate across y _ psectors
• ; Sun contamination is lefted unmasked recently (and most of the time) on board ; There is code to recognize the faulty bins (saturated) and remove them altogether.; This is called : method_sunpulse_clean='spin_fit' , or ‘median’ and tells the; programs to remove data beyond 2sigma away from spin-phase fit/median.
• ;Sun contamination/saturation also affects other channels due to electronic noise.;The code can remove the typical noise value and provide the remaining good; signal (assuming no saturation). The keyword is: enoise_bins and the; procedure is documented in: thm_crib_sst_contamination.pro
10
Sun contamination (thm_crib_sst_contamination.pro)– ;PROCEDURE: thm_crib_sst_contamination
;Purpose: 1 Demonstrate the basic procedure for removal of sun contamination– ;Purpose: 1. Demonstrate the basic procedure for removal of sun contamination,– ; electronic noise, and masking.– ; 2.. Demonstrate removal of suncontamination via various methods. – ; 3. Demonstrate the correction of inadvertant masking in SST data– ; 4. Demonstrate scaling data for loss of solid angle in SST measurements.– ; 5. Demonstrate substraction of electronic noise by selecting bins in a specific region– ; 6. Show how to use these techniques for both angular spectrograms,energy spectrgrams, and
moments.– ;SEE ALSO:– ; thm_sst_remove_sunpulse.pro(this routine has the majority of the documentation)– ; thm_part_moments.pro, thm_part_moments2.pro, thm_part_getspec.pro– ; thm_part_dist.pro, thm_sst_psif.pro, thm_sst_psef.pro,thm_sst_erange_bin_val.pro– ; thm_crib_part_getspec.pro
Sun contamination (sst_remove_sunpulse.pro)– ; Routine to perform a variety of calibrations on full distribution sst data These can; Routine to perform a variety of calibrations on full distribution sst data. These can
remove sun contamination and on-board masking. They can also scale the data to account for the loss of solid angle from the inability of the sst to measure directly along the probe geometric Z axis and the inability to measure directly along the probe geometric xy plane (ie X=0 Y=0 Z = n or X=n Y=m Z=0 are SST 'blind spots')
ESS 261 Energetic Particles11
geometric xy plane.(ie X 0,Y 0,Z n or X n,Y m,Z 0, are SST blind spots ) THM_REMOVE_SUNPULSE routine should not generally be called directly. Keywords to it will be passed down from higher level routines such as, thm_part_moments, thm_part_moments2, thm_part_dist,thm_part_getspec, thm_sst_psif, and thm_sst_psef
Data Analysis Tools• Pitfalls• Pitfalls
– Sun contamination– Read crib sheets:
thm crib sst contamination pro andthm_crib_sst_contamination.pro, anddocumented procedure: thm_sst_remove_sunpulse.pro
• ; ...ESA: scalar temperature• esa_Ti = total(esa_i_T.y,2)/3.• store_data,'Ti_th'+sc+'_peir', $• data={x:esa_i_n.x, y:esa_Ti}• ; ...ESA ion pressure:• esa i p nPa = 0.16 *.001 * esa i n.y*esa Ti_ _p_ _ _ y _• ; scalar pressure in nPa• store_data, 'th'+sc+'_peir_p_nPa', $• data={x:esa_i_n.x, y:esa_i_p_nPa}• options, 'th'+sc+'_peir_p_nPa', $• 'ytitle', 'esa Pi !C!CnPa'
• ; ...Total ion pressure• totPi = sst i p nPa + esa i p nPa_ _p_ _ _p_• store_data, 'th'+sc+'_i_p_nPa', $• data={x:esa_i_n.x, y:totPi}• options, 'th'+sc+'_i_p_nPa', 'ytitle', 'Pi !C!CnPa'
16
Finite gyroradius techniquesI G di l d t t h i• Ion Gyroradius large compared to magnetospheric boundaries– Can be used to remotely sense speed
To Tail
and thickness of boundaries– Assumption is that boundary is sharp
and flux has step function across• Application at the magnetopause
THEMIS• Application at the magnetopause• Application at the magnetotail
– Can also be applied to waves ifparticle gradient is sufficiently high
• Application on ULF waves atinner magnetosphere
To Earth
Method exploits finite iongyroradius to remotely sense
To EarthTo Sun
gyroradius to remotely senseapproaching ion boundary andmeasure boundary speed (V )17
At the magnetotail325kmi,thermal-tail (4keV,20nT)= ~325km
Waves Across Boundary: ~1000-10,000kmAlong Boundary: Normal : 1 10Along Boundary: ~Normal : 1-10
RE
For magnetotail particles, the current layer andFor magnetotail particles, the current layer and plasma sheet boundary layer are sharp compared to the superthermal ion gyroradius and the magnetic field is the same direction in the plasma sheet and outside (the lobe). Thisthe plasma sheet and outside (the lobe). This means we can use the measured field to determine gyrocenters both at the outer plasma sheet and the lobe, on either side of the hot magnetotail boundary.magnetotail boundary.
Show: d=*sin(-)Note: d negative if moving towards spacecraftNote: d negative if moving towards spacecraft
24
P d• Procedure– For a given , determine variance of data for all – Find minimum in variance, this determines (boundary direction)– Distance as function of time determines boundary speed
– intro_ascii,'remote_sense_A.txt',delta,rho,hh,mm,ss,nskip=13,format="(25x,f6.1,f8.1,3(1x,i2))"– ;– angle=fltarr(73)– chisqrd=fltarr(73)– for ijk=0,72 do begin
FTE scale, Normal To Boundary: ~6000kmAlong Boundary: ~ 1-3 RE across
For leaking magnetospheric particles, the currentlayer is sharp compared to the ion gyroradius andthe magnetic field is the same direction in the sheath and the magnetopause outside the current layer. This means we can use the measured field outside themeans we can use the measured field outside themagnetopause to determine gyrocenters both at the magnetopause and the magnetosheath on either side of the hot magnetopause boundary.
28
YgseYgse
Magnetopause encounter on July 12, 2007
C
DTH-B AE
Ygse
C
DTH-B AE
Ygse
(a)(b)(a)(b)
XgseXgse
(c)(c)
XgseXgse
(d)(d)
(e)
(f)
(e)
(f)
Magnetic field angle is 60deg below spin plane and +120deg in azimuth i.e., anti-Sunward and roughly tangent to the magnetopause. The particle velocities, centered at 52deg above the
(g)(h)(g)(h)
spin plane, have roughly 90o pitch angles, with gyro-centers that were on the Earthward side of the spacecraft. The energy spectra of the NP particles show clearly the arrival of the FTE ahead of its magnetic signature, remotely sensing its arri al d e to the finite g roradi s (h)(h)sensing its arrival due to the finite gyroradius effect of the energetic particles. T=55s, i,100keV, 28nT) =1150km, V=40km/s
At the near-Earth magnetosphere
30
At the near-Earth magnetosphereRemote sensing of wavesgin ESA data, at the mostappropriate coordinateSystem, I.e, field alignedcoordinates