def test_pad_electrons_srvy_probe(self): mms_load_feeps(probe=4) mms_feeps_pad(probe=4) self.assertTrue( data_exists( 'mms4_epd_feeps_srvy_l2_electron_intensity_70-600keV_pad_spin') ) self.assertTrue( data_exists( 'mms4_epd_feeps_srvy_l2_electron_intensity_70-600keV_pad'))
def test_pad_ions_srvy(self): mms_load_feeps(probe=4, data_rate='brst', datatype='ion', trange=['2015-10-01/10:48:16', '2015-10-01/10:49:16']) mms_feeps_pad(probe=4, data_rate='brst', datatype='ion', angles_from_bfield=True) self.assertTrue( data_exists('mms4_epd_feeps_brst_l2_ion_intensity_70-600keV_pad')) self.assertTrue( data_exists( 'mms4_epd_feeps_brst_l2_ion_intensity_70-600keV_pad_spin'))
''' This crib sheet shows how to load and plot FEEPS data ''' from pyspedas import mms_load_feeps, mms_feeps_pad from pytplot import tplot # load electron data mms_load_feeps(trange=['2015-10-16', '2015-10-17'], datatype='electron') # plot the omni-directional electron intensity tplot([ 'mms1_epd_feeps_srvy_l2_electron_intensity_omni', 'mms1_epd_feeps_srvy_l2_electron_intensity_omni_spin' ]) # calculate the pitch angle distribution mms_feeps_pad() # plot the PAD tplot('mms1_epd_feeps_srvy_l2_electron_intensity_70-600keV_pad')