projects/maven/sta/mvn_sta_functions/
get_4dt.pro
Routines
top source get_4dt
get_4dt, funct, routine, T1=T1, T2=T2, ENERGY=ENERGY, ERANGE=ERANGE, EBINS=EBINS, BINS=BINS, ANGLE=ANGLE, ARANGE=ARANGE, MASS=MASS, M_INT=M_INT, q=q, mincnt=mincnt, gap_time=gap_time, no_data=no_data, name=name, bkg=bkg, missing=missing, floor=floor
PROGRAM: get_4dt,funct,routine INPUT: funct: function, function that operates on structures generated by mvn_sta_get_?? funct = 'n_4d','j_4d','v_4d','p_4d','t_4d', ... routine, a string that defines the 'routine' that returns a 4D data structure routine = mvn_sta_get_?? KEYWORDS T1: real or dbl start time, seconds since 1970 T2: real or dbl end time, seconds since 1970 ENERGY: fltarr(2), min,max energy range to be passed to "funct" ERANGE: fltarr(2), min,max energy bin numbers to be passed to "funct" EBINS: bytarr(na), energy bins array to be passed to "funct" 0,1=exclude,include, na = dat.nenergy ANGLE: fltarr(2), min,max pitch angle range to be passed to "funct" ARANGE: fltarr(2), min,max angle bin numbers to be passed to "funct" BINS: bytarr(nb), angle bins array to be passed to "funct" 0,1=exclude,include, nb = dat.ntheta EBINS: bytarr(na,nb), energy/angle bins array to be passed to "funct" MASS: fltarr(2) min,max mass range to be passed to "funct" M_INT: 0/1 keyword to integerize mass to nearest AMU, passed to "funct" Q integer particle charge passed to "funct" to be used instead of charge returned by "routine" GAP_TIME: time gap big enough to signify a data gap (def 200 sec, 8 sec for FAST) NO_DATA: returns 1 if no_data else returns 0 NAME: New name of the Data Quantity Default: funct+'_'+routine BKG: string name of routine that calculates bkg_data for background subtractions: dat.data=dat.data-bkg_data FLOOR: 0/1 Sets the minimum value of any data point to sqrt(bkg). MISSING: value for bad data. 0,1=exclude,include PURPOSE: To generate time series data for "tplot.pro" NOTES: Program names time series data to funct+"_"+routine if NAME keyword not set See 'tplot_names.pro'. CREATED BY: J.McFadden LAST MODIFICATION: 14/03/17 developed from get_2dt.pro MOD HISTORY: NOTES: Current version only works for MAVEN
Parameters
- funct
- routine
Keywords
- T1
- T2
- ENERGY
- ERANGE
- EBINS
- BINS
- ANGLE
- ARANGE
- MASS
- M_INT
- q
- mincnt
- gap_time
- no_data
- name
- bkg
- missing
- floor
File attributes
Modification date: | Wed Dec 10 10:08:30 2014 |
Lines: | 89 |