Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

projects/themis/spacecraft/fields/LASP/

thm_efi_fix_freq_and_phase.pro


FUNCTION: THM_EFI_FIX_FREQ_AND_PAHSE, E, freq=freq, ghf=ghf, dt=dt, axial=axial PURPOSE: A routine which integrates data to fix the gain and remove the phase shift due to resistive to capacitive crossover of the THEMIS preamps. ONLY USEFUL FOR BURST DATA. INPUT: data - REQUIRED. Data to be fixed. DEFAULT = SPIN PLANE KEYWORDS: axial - OPTIONAL. Changes freq and gh to AXIAL default values. freq - OPTIONAL. Crossover frequency in HZ. DEFAULT = SPIN PLANE Careful! Derived from Rsheath(Csheath+Cin) ghf - OPTIONAL. Gain at high frequency. DEFAULT = SPIN PLANE Csheath/(Csheath+Cin) dt - OPTIONAL. Time between samples (s). DEFAULT = 1/8192 CALLING: Esp = thm_efi_fix_freq_and_phase(Esp) or Eax = thm_efi_fix_freq_and_phase(Ex, /ax) OUTPUT: Data is integrated to remove gain/phase error from preamp RC crossover. NOTE ON DEFAULTS: Spin Plane: The front-end network, R=100k, C = 10pF is ignored. Instead, I fudge Csh = 14 pF and Cin = 11.5 pF to realize a close approximation of measured gain/phase (see Bonnell et al. paper). Axial: Same system. I use Csh = 4 pf, Cin = 13 pF to approximate. One could improve the calculation with 2 poles, but the location of Cin (before or after the input network) would need to be questioned. Rsh is assumed to be 20 MOhm BEHAVIOR: (1) USE /AX for AXIAL SIGNALS!!! (2) DATA AT BEGINNING OF AN ARRAY MAY NOT BE CORRECTED. Use large arrays if possible. The program relaxes by one e-fold every 3 ms. (3) Electric field is improved for all plasma conditions. However, PHASE/GAIN CORRECTION MAY NOT BE ENOUGH FOR ALL PLASMA CONDITIONS. (4) PROBES MUST BE IN SUNLIGHT! (5) ONLY USEFUL FOR BURST DATA! (6) BE SURE TO SET DT = 1/16384 FOR AC BURST!!! INITIAL VERSION: REE 08-08-26 MODIFICATION HISTORY: LASP, CU

Routines

top source thm_efi_fix_freq_and_phase

result = thm_efi_fix_freq_and_phase(E, freq=freq, ghf=ghf, dt=dt, axial=axial)

Parameters

E

Keywords

freq
ghf
dt
axial

File attributes

Modification date: Thu Feb 13 16:42:36 2014
Lines: 22