general/missions/fast/fa_esa/functions/
get_pa_spec.pro
PROCEDURE: get_pa_spec PURPOSE: Generates pitch angle vs. time spectrogram data structures for tplot INPUT: data_str, a string (either 'eesa_surv','ess', ...) where get_'string' returns a 2D pitch angle data structure KEYWORDS: T1: start time, seconds since 1970 T2: end time, seconds since 1970 ENERGY: fltarr(2) energy range to sum over ERANGE: intarr(2) energy bin range to sum over EBINS: bytarr(dat.nenergy) energy bins to sum over gap_time: time gap big enough to signify a data gap (default 200 sec, 8 sec for FAST) NO_DATA: returns 1 if no_data else returns 0 UNITS: convert to these units if included NAME: New name of the Data Quantity BKG: A 3d data structure containing the background counts. FLOOR: Sets the minimum value of any data point to sqrt(bkg). MISSING: Value for bad data. RETRACE: Set to number of retrace energy steps to be eliminated starting at energy step 0 CALIB: Calib keyword passed on to get_"data_str"_ts EWEIGHT Weights the energy bin average by bin energy width. SHIFT90 If set true, pitch angle range is -90 to 270 CREATED BY: J.McFadden VERSION: 1 LAST MODIFICATION: 97/07/11 MOD HISTORY: 96/08/14 Added EWEIGHT keyword - mcfadden 97/03/04 T1,T2 keywords added 97/07/11 CALIB keyword added 97/07/23 fixed bug - ind1=fix((max(ind)+min(ind))/2) NOTES: Current version only works for FAST
Routines
top source get_pa_spec
get_pa_spec, data_str, T1=T1, T2=T2, ENERGY=ENERGY, ERANGE=ERANGE, EBINS=EBINS, gap_time=gap_time, no_data=no_data, units=units, name=name, bkg=bkg, missing=missing, floor=floor, retrace=retrace, CALIB=CALIB, eweight=eweight, shift90=shift90
Parameters
- data_str
Keywords
- T1
- T2
- ENERGY
- ERANGE
- EBINS
- gap_time
- no_data
- units
- name
- bkg
- missing
- floor
- retrace
- CALIB
- eweight
- shift90
File attributes
Modification date: | Thu Feb 13 16:43:30 2014 |
Lines: | 168 |