Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/missions/rbsp/efw/

rbsp_efw_cal_spec.pro


NAME: rbsp_efw_cal_spec PURPOSE: Calibrate RBSP spectral data NOTES: Intended to be called from rbsp_load_efw_spec.pro TO DO: -No accounting for possible midday source change -not using boom shorting factor There are 7 returned spec channels. The possibilities are Select 7 of: E12dc,E34dc,E56dc E12ac,E34ac,E56ac Edcpar,Edcprp Eacpar,Eacprp V1ac,V2ac,V3ac,V4ac,V5ac,V6ac SCMU,SCMV,SCMW SCMpar,SCMprp, (V1dc+V2dc+V3dc+V4dc)/4, Edcprp2, Eacprp2, SCMprp2 Calibration procedure subtract offset vals = (double(vals) - offset[j]) Compensate for 4 bit dynamic range compression vals /= 16. Divide the 0th bin by 4 (from weirdness doc) vals[*,0] /= 4. Compensate for using Hanning window vals /= 0.375^2 Apply ADC conversion vals *= adc_factor^2 Apply channel gain vals *= gain[j]^2 (V^2/Hz at this point) Apply boom length to change from V^2/Hz to mV/m^2/Hz vals *= conversion[j]^2 ;mV/m ^2 /Hz Apply freq dependent gain HISTORY: 2012-09-xx: Created by Aaron W Breneman, University of Minnesota 2013-04-xx: added automated channel selection 2013-04-23: added freq-dependent gain 2013-05-15: freq-dependent gain curves now obtained from rbsp_efw_get_gain_results.pro and are no longer "hard-wired" into this code. Also added the full freq-dependent correction as well as the mu-metal square can (nT/v) curves to correct the SCM data. VERSION: $LastChangedBy: $ $LastChangedDate: $ $LastChangedRevision: $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/ssl_general/trunk/missions/rbsp/efw/rbsp_efw_cal_fbk.pro $

Routines

top source rbsp_efw_cal_spec

rbsp_efw_cal_spec, probe=probe, trange=trange, datatype=datatype, pT=pT

Keywords

probe
trange
datatype
pT

File attributes

Modification date: Thu Mar 13 16:35:39 2014
Lines: 407