timespan,'7 11 07/10',2,/hours sc='a' ; thm_load_state,probe=sc,/get_supp thm_load_fit,probe=sc,data='fgs',coord='gsm',suff='_gsm' thm_load_mom,probe=sc ; L2: onboard processed moms thm_load_esa,probe=sc ; L2: ground processed gmoms, omni spectra ; tplot,'tha_fgs_gsm tha_pe?m_density tha_pe?r_en_eflux' ; stop ; trange=['07-11-07/11:00','07-11-07/11:30'] thm_part_getspec, probe=['a'], trange=trange, angle='gyro', $ pitch=[45,135], other_dim='mPhism', $ ; /normalize, $ data_type=['peir'], regrid=[32,16] ; tplot,'tha_peir_an_eflux_gyro tha_fgs_gsm tha_pxxm_pot tha_pe?m_density tha_pe?r_en_eflux' ; ; Notes: ( from thm_fac_matrix_make.pro ) ; ************For all transformations Z = B************ ; ; valid second coord(other_dim) options: ; ; '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 ; Third coordinate, X completes orthogonal RHS ; (right hand system) triad: XYZ ; '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',translate into FAC using radial position vector ; mRgeo is radial position vector, positive radially inwards. ; Second coordinate definition: Y = Z x mRgeo (eastward) ; Third coordinate, X completes orthogonal RHS XYZ. ; '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', translate into FAC using azimuthal position vector ; mPhigeo is minus the azimuthal geo position vector; positive Westward ; First coordinate definition: X = mPhigeo x Z (positive inwards) ; 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 XYZ ; 'mPhism', translate into FAC using azimuthal Solar Magnetospheric vector. ; mPhism is minus "phi" vector of satellite position in SM coordinates. ; Y Axis = on plane defined by Phism-Z, normal to Z ; Second coordinate definition: X = mPhism x Z ; Third completes orthogonal RHS XYZ ; '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