Documentation for /home/davin/idl/socware/

Generated by IDLdoc

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

general/missions/fast/fa_esa/functions/

fu_fit2d.pro


FUNCTION: fu_fit2d(dat,ENERGY=en,ERANGE=er,EBINS=ebins,...) Select energy/angle range and perform functional fit to data (default Maxwellian) INPUTS: dat - data structure containing 2d data - e.g. "get_fa_ees, get_fa_ies, etc." KEYWORDS: NFITF integer optional number of functions for the fit, default = 1 FITF string optional function for the fit, default = maxwellian AUTO 0/1 if set, defaults are used and peak energy determined from the data ENERGY: fltarr(2), optional, min,max energy range for fit ERANGE: fltarr(2), optional, min,max energy bin numbers for fit EBINS: bytarr(na), optional, energy bins array for fit 0,1=exclude,include, na = dat.nenergy ANGLE: fltarr(2), optional, min,max pitch angle range for fit ARANGE: fltarr(2), optional, min,max angle bin numbers for fit BINS: bytarr(nb), optional, angle bins array for fit 0,1=exclude,include, nb = dat.ntheta BINS: bytarr(na,nb), optional, energy/angle bins array for fit 0,1=exclude,include LIMITS - A structure containing limits and display options. see: "options", "xlim" and "ylim", to change limits UNITS - convert to given data units before plotting F_UNITS - convert dat.data to given data units before passing to function "FITF" COLOR - array of colors to be used for each bin LABEL - Puts bin labels on the plot if set. SUMPLT - redraws the summed data and the fit after completion. MSEC - Subtitle will include milliseconds NOTES: This program still has bugs and may not weight the points properly !!!!! See "spec2d" for another means of plotting data. See "conv_units" to change units. See "time_stamp" to turn time stamping on and off. Future changes: fitfunct.pro, tempfit.pro, tempfit2.pro CREATED BY: J. McFadden 96-11-14 FILE: funct_fit3d.pro VERSION 1. LAST MODIFICATION: Ver 1.1 GTDelory 97-07-30

Routines

top source fu_fit2d

result = fu_fit2d(dat, ENERGY=ENERGY, ERANGE=ERANGE, EBINS=EBINS, ANGLE=ANGLE, ARANGE=ARANGE, BINS=BINS, LIMITS=LIMITS, UNITS=UNITS, LABEL=LABEL, MSEC=MSEC)

Parameters

dat

Keywords

ENERGY
ERANGE
EBINS
ANGLE
ARANGE
BINS
LIMITS
UNITS
LABEL
MSEC

File attributes

Modification date: Thu Feb 13 16:43:30 2014
Lines: 176