Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

projects/themis/spacecraft/particles/ESA/

thm_esa_energy_extrapolate.pro


PROCEDURE: thm_esa_energy_extrapolate PURPOSE: Performs linear extrapolation of esa data to a new set of higher energies INPUTS: dist_data: The esa data structure on which the extrapolation should be performed. (loaded by thm_part_dist_array) KEYWORDS: add_energy=add_energy : Adds these energies to the current set of energies for the particle data when extrapolating. lin_energy=lin_energy : Set this keyword to perform extrapolation on energy, not logarithmic. lin_counts=lin_counts: Set this keyword to perform extrapolation on counts, not logarithmic lsquadratic=lsquadratic: Set this keyword to perform least square quadratic extrapolation of count data(see interpol documentation in IDL help.) quadratic=quadratic: Set this keyword to perform quadratic extrapolation of count data.(see interpol documentation in IDL help.) lsquares=lsquares: Set this keyword to the number of bins that you want to use for least squares extrapolation of the count data(Uses poly_fit) spline=spline: Set this keyword to perform spline extrapolation of count data.(see interpol documentation in IDL help.) trange=trange: Set this keyword to a two element array specifying a subset of the data that the operation should be performed on.(Don't need to modify the whole thing with the same parameters) error=error: Returns 1 if an error occurred. Returns 0 if operation completed successfully. bin_select: set the bin numbers that you want to use in the extrapolation EXAMPLES: dist_data = thm_part_dist_array(probe='a',type='peef',trange=time_double(['2012-02-08/09','2012-02-08/12'])) thm_part_conv_units,dist_data,error=e thm_esa_energy_extrapolate,dist_data,add_energy=[100000,70000,50000] NOTES: Removes the retrace bin from ESA modes that include retrace. $LastChangedBy: pcruce $ $LastChangedDate: 2013-01-10 18:10:18 -0800 (Thu, 10 Jan 2013) $ $LastChangedRevision: 11424 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/themis/spacecraft/particles/ESA/thm_esa_energy_extrapolate.pro $

Routines

top source thm_esa_energy_extrapolate

thm_esa_energy_extrapolate, dist_data, add_energy, lin_energy=lin_energy, lin_counts=lin_counts, lsquadratic=lsquadratic, quadratic=quadratic, spline=spline, lsquares=lsquares, error=error, bin_select=bin_select

Parameters

dist_data
add_energy

Keywords

lin_energy
lin_counts
lsquadratic
quadratic
spline
lsquares
error
bin_select

File attributes

Modification date: Thu Feb 13 16:42:51 2014
Lines: 102