projects/themis/spacecraft/particles/deprecated/
thm_part_moments2.pro
PROCEDURE: thm_part_moments2 PURPOSE: Calculates moments and spectra for themis particle distributions. SEE ALSO: THM_CRIB_PART_GETSPEC, THM_PART_GETSPEC, THM_PART_GETANBINS, THM_LOAD_SST, THM_LOAD_ESA_PKT, THM_FAC_MATRIX_MAKE,THM_CRIB_SST_CONTAMINATION, THM_SST_REMOVE_SUNPULSE dist_array: Provide an array of data instead of having thm_part_getspec/thm_part_moments2 load the data directly. This allows preprocessing/sanitization operations to be performed prior to moment generation. See thm_part_dist_array.pro, thm_part_conv_units.pro NOTE: For documentation on sun contamination correction keywords that may be passed in through the _extra keyword please see: thm_sst_remove_sunpulse.pro or thm_crib_sst_contamination.pro MODIFIED BY: Bryan kerr from Davin Larson's thm_part_moments $LastChangedBy: pcruce $ $LastChangedDate: 2008-07-21 17:38:17 -0700 (Mon, 21 Jul 2008) $ $LastChangedRevision: 3298 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/trunk/idl/themis/spacecraft/particles/moments/thm_part_moments2.pro $
Routines
Routines from thm_part_moments2.pro
thm_part_moments2_msg, msg_ball, msg, _extra=_extra
HELPER Function.
thm_part_moments2, instruments_types=instruments_types, probes=probes, moments_types=moments_types, verbose=verbose, trange=trange, tplotnames=tplotnames, tplotsuffix=tplotsuffix, set_opts=set_opts, scpot_suffix=scpot_suffix, mag_suffix=mag_suffix, comps=comps, get_moments=get_moments, usage=usage, units=units, theta=theta, phi=phi, pitch=pitch, erange=erange, start_angle=start_angle, doangle=doangle, doenergy=doenergy, wrapphi=wrapphi, regrid=regrid, gyro=gyro, en_tnames=en_tnames, an_tnames=an_tnames, normalize=normalize, datagap=datagap, gui_flag=gui_flag, gui_statusBar=gui_statusBar, gui_historyWin=gui_historyWin, sst_cal=sst_cal, dist_array=dist_array, _extra=_extra, test=test
Routine details
top source thm_part_moments2_msg
thm_part_moments2_msg, msg_ball, msg, _extra=_extra
HELPER Function. (Main routine below) Purpose: Checks returnd error messages from underlying routines against previously returned messages. If the message is new it will be printed and added to the stored message array. This should allow messages generated within the loop over time to be printed once instead of hundreds or thousands of times. Usage: thm_part_moments2_msg, msg_ball, msg, dlevel=1 Arguments: msg_ball: string array of all previously printed messages msg: string or string array of newly returned message(s) Keywords: dlevel: Not a formal keyword, but passed through _extra Notes: This routine assumes it will get correct input, please do not disappoint it.
Parameters
- msg_ball
- msg
Keywords
- _extra
top source thm_part_moments2
thm_part_moments2, instruments_types=instruments_types, probes=probes, moments_types=moments_types, verbose=verbose, trange=trange, tplotnames=tplotnames, tplotsuffix=tplotsuffix, set_opts=set_opts, scpot_suffix=scpot_suffix, mag_suffix=mag_suffix, comps=comps, get_moments=get_moments, usage=usage, units=units, theta=theta, phi=phi, pitch=pitch, erange=erange, start_angle=start_angle, doangle=doangle, doenergy=doenergy, wrapphi=wrapphi, regrid=regrid, gyro=gyro, en_tnames=en_tnames, an_tnames=an_tnames, normalize=normalize, datagap=datagap, gui_flag=gui_flag, gui_statusBar=gui_statusBar, gui_historyWin=gui_historyWin, sst_cal=sst_cal, dist_array=dist_array, _extra=_extra, test=test
Keywords
- instruments_types
- probes
- moments_types
- verbose
- trange
- tplotnames
- tplotsuffix
- set_opts
- scpot_suffix
- mag_suffix
- comps
- get_moments
- usage
- units
- theta
- phi
- pitch
- erange
- start_angle
- doangle
- doenergy
- wrapphi
- regrid
- gyro
- en_tnames
- an_tnames
- normalize
- datagap
- gui_flag
- gui_statusBar
- gui_historyWin
- sst_cal
- dist_array
- _extra
- test
File attributes
Modification date: | Thu Feb 13 16:42:45 2014 |
Lines: | 1,181 |