Documentation for /home/davin/idl/socware/

Generated by IDLdoc

Directory: general/tools/misc/

Contents

.pro files

average.pro

FUNCTION average(array,d [,STDEV=stdev] [,/NAN])PURPOSE: Returns the average value of an array.

average_hist.pro

FUNCTION average_hist(d,x [,STDEV=stdev])returns the average of d binned according to xSee "HISTBINS" for a description of keywordsUSAGE:assuming: x = randomu(seed,1000)*10 y = 10-.1*x^2 + randomn(seed,1000) d = y avg = average_hist(d,x,xbins=xc) avg = average_hist(d,x,xbins=xc,range=[2,8],binsize=.25) plot,x,y,psym=3 oplot,xc,avg,psym=-4NOTE: d can be an array of structures: d=replicate({x:0.,y:0.},1000) d.x = x d.y = y plot,d.x,d.y,psym=3 avg = average_hist(d,d.x) oplot,avg.x,avg.y,psym=-4

dgen.pro

FUNCTION: dgen(n)PURPOSE: returns an array of n doubles that are scaled between two limits.

enclosed.pro

FUNCTION: w = enclosed(x,y [cx,cy],NCIRCS=NCIRCS,COUNT=COUNT)PURPOSE: Returns the indices of a set of x,y points that are inside a contour.

exec.pro

WIDGET Procedure: EXECPURPOSE: Widget tool that executes a user specified routine.

fill_nan.pro
get_plot_state.pro
getxy.pro

NAME: getxyPURPOSE: Routine that uses the cursor to select points.

insert_gaps.pro
print_struct.pro

PROCEDURE: print_struct, data, tags=tagsPURPOSE: prints data in an array of structures.

read_asc.pro

FUNCTION: data=read_asc(filename)PURPOSE: Reads data from an ascii file and puts data in an array of structures.

recorder.pro

WIDGET Procedure: RECORDERPURPOSE: Widget tool that records streaming data from a server (host) and can save it to a file or send to a user specified routine.

restore_plot_state.pro
rot_mat.pro
solve.pro
struct.pro
var_info.pro
xy_edit.pro

PROCEDURE: xy_edit,x,y,binsPURPOSE: Interactively select data points

yymmdd_to_time.pro

FUNCTION: yymmdd_to_timePURPOSE: Returns time (seconds since 1970) given date in format: YYMMDD HHMMUSAGE: t = yymmdd_to_time(yymmdd [,hhmm]) (yymmdd can be either a long or a string)Examples: t = yymmdd_to_time(990421,1422) print,t,' ',time_string(t)Created by: Davin Larson, April 1999