I would like to ask you a question. I want to get the ion current at different pitch angles, but when I change the range of pitch angles, I get the same result. Can you tell me why? Here is my code:
from pyspedas.mms.particles.mms_part_getspec import mms_part_getspec
from pytplot import tplot_names,tplot,options,tsmooth,get_data
from pyspedas import cotrans
from pyspedas.mms import lingradest,curlometer
import numpy as np
from pytplot import join_vec
from scipy.interpolate import interp1d
var = mms_part_getspec(
trange=['2015-09-01/12:15:28', '2015-09-01/12:24:00'],
instrument='fpi',
data_rate='brst',
probe=[1,2,3,4],
species='i',
energy=[14000, 30000],
pitch=[33, 79],
output='moments')
positions = ['mms1_mec_r_gse', 'mms2_mec_r_gse', 'mms3_mec_r_gse', 'mms4_mec_r_gse']
fields = ['mms1_fgm_b_gse_brst_l2', 'mms2_fgm_b_gse_brst_l2', 'mms3_fgm_b_gse_brst_l2', 'mms4_fgm_b_gse_brst_l2']
curlometer_vars = curlometer(fields=fields, positions=positions)
tplot([ 'jtotal'])
I would like to ask you a question. I want to get the ion current at different pitch angles, but when I change the range of pitch angles, I get the same result. Can you tell me why? Here is my code:
from pyspedas.mms.particles.mms_part_getspec import mms_part_getspec
from pytplot import tplot_names,tplot,options,tsmooth,get_data
from pyspedas import cotrans
from pyspedas.mms import lingradest,curlometer
import numpy as np
from pytplot import join_vec
from scipy.interpolate import interp1d
var = mms_part_getspec(
trange=['2015-09-01/12:15:28', '2015-09-01/12:24:00'],
instrument='fpi',
data_rate='brst',
probe=[1,2,3,4],
species='i',
energy=[14000, 30000],
pitch=[33, 79],
output='moments')
positions = ['mms1_mec_r_gse', 'mms2_mec_r_gse', 'mms3_mec_r_gse', 'mms4_mec_r_gse']
fields = ['mms1_fgm_b_gse_brst_l2', 'mms2_fgm_b_gse_brst_l2', 'mms3_fgm_b_gse_brst_l2', 'mms4_fgm_b_gse_brst_l2']
curlometer_vars = curlometer(fields=fields, positions=positions)
tplot([ 'jtotal'])