projects/themis/spacecraft/fields/
thm_cal_fgm.pro
procedure: thm_cal_fgm
Purpose: applies calibration to THEMIS fluxgate magnetometer data
searches for the current calibration in ASCII file
takes calibration that has time stamp before or at the start of the data
converts data to nano Tessla
applies the calibration
corrects for phase shift from averaging before despinning
keywords:
probe = Probe name. The default is 'all', i.e., calibrate data for all
available probes.
This can be an array of strings, e.g., ['a', 'b'] or a
single string delimited by spaces, e.g., 'a b'
datatype = The type of data to be loaded, 'fge', 'fgh', or 'fgl'. If
name_thx_fgx_in,name_thx_fgx_hed, or name_thx_fgx_out,$
are specified, then this keyword is required.
in_suffix = optional suffix to add to name of input data quantity, which
is generated from probe and datatype keywords.
out_suffix = optional suffix to add to name for output tplot quantity,
which is generated from probe and datatype keywords.
coord = apply thm_cotrans if output other
than spinning spacecraft (SSL) is desired.
cal_dac_offset = apply calibrations that remove digital analog
converter nonlinearity by addition of offset.
Algorithm generated by Dragos Constantine
Routines
top source thm_cal_fgm
thm_cal_fgm, name_thx_fgx_in, name_thx_fgx_hed, name_thx_fgx_out, pathfile, probe=probe, datatype=datatype, in_suffix=in_suffix, out_suffix=out_suffix, coord=coord, interpolate_state=interpolate_state, cal_spin_harmonics=cal_spin_harmonics, cal_dac_offset=cal_dac_offset, cal_tone_removal=cal_tone_removal, cal_get_fulloffset=cal_get_fulloffset, cal_get_dac_dat=cal_get_dac_dat, cal_get_spin_dat=cal_get_spin_dat, use_eclipse_corrections=use_eclipse_corrections
Parameters
- name_thx_fgx_in
- name_thx_fgx_hed
- name_thx_fgx_out
- pathfile
Keywords
- probe
- datatype
- in_suffix
- out_suffix
- coord
- interpolate_state
- cal_spin_harmonics
- cal_dac_offset
- cal_tone_removal
- cal_get_fulloffset
- cal_get_dac_dat
- cal_get_spin_dat
- use_eclipse_corrections
File attributes
Modification date: | Thu Feb 13 16:42:38 2014 |
Lines: | 339 |