Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

Directory: ./

.pro files

abline.pro

overplot a line on a plot from the slope and intercept

all_array_indices.pro

convert all one dimensional subscripts of an array into multi-dimensional subscripts

alog_n.pro

compute the log of a number in an arbitary base

angle_get.pro

return the angle between two vectors

ascii_template_code.pro

pit the code needed to hard code an ascii_template() in a read routine

avg_nonzero.pro

compute a mean without having to use moment, and does not average in zeros

bl_avg.pro

uses rebin to average the data, faster that moment

bl_sign.pro

Return 1, 0, -1 for pos, zero, neg

cdf_vars.pro

return the names of the variables in a cdf file

clock_plot.pro

make a plock plot of data, this is the equilivent of imagesc in a polar sense

correlation_matrix.pro

compute the correlation matrix for a data set

cross.pro

compute the cross product of two vectors

ctof.pro

convert degrees C to degrees F

dot.pro

calculate the scalar (dot) product in any number of dimensions

electron_range.pro

idl code to contain electron rages in different materials

expand_in_base.pro

expand a number in a different base

ftoc.pro

convert degrees F to degrees C

ftok.pro

convert degrees F to K

get_thm_pxxm.pro

gsl_sobol.pro

call the GSL routine for sobol sequences (gsl_qrng) using a C wrapper I wrote

gst.pro

find the Greenwich mean sideral time (GST) See Intro to Space Physics Kivelson, Russell 1997

haltonseq.pro

Return the halton sequence for monte carlo simulations.

histo_bins.pro

perform a histogram using used specified bins

hypot.pro

return the hypot of a triangle, really just add in quadrature

imagesc.pro

plot 2d data using tv instead of contour, named after the equilivant procedure in matlab

imagesc2.pro

plot 2d data using tv instead of contour, named after the equilivant procedure in matlab

interp2d_click.pro

Contour plot must be plotted with both /xstyle, /ystyle keywords set and don't try with a log scale, this could be added in the future as well

is_double.pro

return 1 if the input is of type double, 0 otherwise

is_sorted.pro

determine if an array is sorted

l2mlat.pro

convert l-shell to magnetic latitude for a dipole field

leading_digit.pro

return the leading digit of a number.

leap_year.pro

compute if an array of years are leap years

life.pro
locate.pro

perform a search or a sorted array for the value you want

log_bins.pro

create log spaced bins, useful for plotting spectra with histo_bins

make_tag_valid.pro

make a string into a valid tag for a structure, note that create_struct() removes spaces itself

min_nz.pro

find the minimum non-zero value of an array

msu_weather.pro

get weather station data from the Shaw lab weather station at MSU http://www.coe.montana.edu/ee/weather and parse it into a structure for analysis

nanarr.pro

return an array of nan in either float or double

oplot_dipole.pro

overplot dipole field lines on a plot

oplot_horiz.pro

oplot a horizontal line on the current plot

oplot_vertical.pro

oplt a vertical ine on a plot at a given x-value

plot_earth.pro

overplot the earth onto a plot measured in Re

proton_range.pro

idl code to contain electron rages in different materials

read_omniweb.pro

read an omniweb data file into an idl structre http://omniweb.gsfc.nasa.gov/form/dx1.html

read_spenvis_ssat.pro

read and return the grammage calcuations from a SPENVIS SSAT run

remove_char.pro

remove a character from a string, this is a unitility routine for make_tag_valid

reverse_indices.pro

use histogram to pull out regions using the reverse_indices keyword

round2array.pro

round a value to its nearest value in an array

sod2hms.pro

convert soconds of day to hours.

thm_save_name.pro

create a filename for a themis pxxm file

to_eps.pro

set plot output to EPS and make it all pretty

to_ps.pro

set plot output to PS and make it pretty

type.pro

return the type of a variable

val2nan.pro

convert a value to nan in an array

volland_stern.pro

return the volland-stern electric field for a given gamma, kp, and position

x2jpg.pro

converts the current x-displayed window to jpg makes this easy - and in every case i have tried looks great :) CATEGORY: data visilation

x2png.pro

converts the current x-displayed window to png makes this easy - and in every case i have tried looks great :) CATEGORY: data visilation

zeropad.pro

pad an integer with some number of leading zeros