# Directory: ./

### .pro files

- advxyz.pro
This procedure converts from (a,d,v) sky coordinates to (x,y,z) pixel coordinates in a data cube.

- anneal__define.pro
The anneal class performs simulated annealing to maximize a fitness function.

- apcon.pro
This function returns the values of many different constants used in astrophysics.

- append.pro
This function appends a second array to a first one.

- arr_eq.pro
- arrgen.pro
This function is similar to (and an extension of) built-in functions like indgen, findgen, etc.

- asinh.pro
This function calculates the inverse hyperbolic sine of one or more numbers.

- assert.pro
This procedure is a simple routine to check assumptions during programming.

- blackbody.pro
This function calculates the Planck function I_nu or I_lambda.

- border_indices.pro
- cauchy.pro
This function returns the probability density function of a Cauchy distribution, with median mu and width gamma, evaluated at x.

- cnb_covar.pro
This function computes the covariance matrix for a set of multidimensional data.

- cnb_imf.pro
This function both evaluates the IMF at given mass, and returns masses drawn at random from the IMF.

- cnb_pca.pro
- cnb_voigt.pro
- curl.pro
- densitymap.pro
This procedure creates a smoothed map of the suface density of objects on the sky or in a plane.

- detectoutlier.pro
- div.pro
- ds9reg__define.pro
Defines a simple IDL structure to represent a DS9-style region description.

- edf.pro
This procedure calculates the empirical distribution function (edf) of a set of data, evaluated at each input data point.

- edf_stats.pro
This function calculates a variety of statistics to characterize the discrepancy between 1D data and a model for the distribution from which the data were drawn.

- extast3.pro
This program is a wrapper procedure to the extast routine in the IDL astronomy user's library.

- extast3__define.pro
- fft_kind.pro
- gcrot.pro
This function computes, as a function of galactic coordinates, the angle between a vector pointing towards the galactic north pole and a vector pointing towards the North Celestial Pole.

- gmean.pro
- hh_decomp.pro
- indices.pro
- intersect.pro
Intersect returns the intersection of two 1D, interger-valued vectors.

- is_integer.pro
- isnumeric.pro
This function determines whether a variable corresponds to a numeric data type.

- kdist.pro
This function calculates the near and far kinematic distances for a given galactic longitude and radial velocity.

- kdisterr.pro
This routine uses kdist.pro to do all of the work

- linux2jd.pro
Convert linux time (the number of seconds since UTC Jan 1 1970) to julian date (the number of days since Jan 1 4713 BC).

- lognormal_cdf.pro
Evaluate the cumulative distribution function of a lognormal distribution.

- looplister__define.pro
The loopLister object class provides a standard way to provide status updates during long looping operations.

- map_init.pro
This function creates a blank image and fits header, based on input parameters describing the desired image size and orientation.

- mcmc__define.pro
This class defines an interface for running Markov Chain Monte Carlo simulations.

- mcmc_multi__define.pro
mcmc_multi is a subclass of the mcmc class to create markov chain monte carlo simulations on multiple chains simultaneously.

- medabsdev.pro
- mslife.pro
This function returns the approximate main sequence lifetime as a function of stellar mass.

- mwdens.pro
This function returns the number density of stars in the Milky Way, as a function of galactic coordinates.

- nanscale.pro
Byte scales numbers so that non-finite values are zero, and finite values map from 1 - 255.

- nanswap.pro
This procedure swaps out NANs in an array with another value.

- nearestn.pro
nearestN takes takes a list of source locations and, for a list of test positions, returns the index of the n'th nearest source.

- nextast.pro
This function returns a structure of astrometry parameters parsed from a FITS header.

- nicer.pro
This function estimates the amount of reddening a star is seen through, based on its observed colors.

- nicest__define.pro
- npc.pro
This function returns the various ASCII non-printing characters.

- otree__define.pro
The otree class implements the oct tree data structure, used for calculating the potential energy of a system of point masses.

- parabola.pro
This function finds the unique parabola which fits three xy pairs.

- pdiv.pro
- perimeter.pro
- plotvec.pro
This procedure creates plots of vector fields.

- postagestamp.pro
This function extracts a subregion from a 2 or 3-dimensional FITS image.

- poten.pro
This function calculates the potential energy of a collection of point masses.

- poten_slow.pro
This function computes the potential energy of a mass distribution.

- poten_tree.pro
- pricom__define.pro
- pwpl.pro
This function evaluates, or returns samples drawn at random from, a PieceWise Power Law distribution.

- range.pro
Returns the range (max - min) of an array

- rank.pro
This function computes the rank of each element in a data set.

- reshape.pro
- shift.pro
Shift the values associated by up to 5 variables

- sign.pro
Returns the sign of x

- sky2pix.pro
This function translates between 'real' coordinates (eg, ra dec) to pixel coordinates in a fits file.

- skymap__define.pro
This class creates a smoothed sky map from an irregularly spaced set of measurements.

- skymap_smooth.pro
- skymap_smooth_sigclip.pro
This procedure is a wrapper to skymap_smooth, which creates a smoothed map of some function sampled at discrete points on the sky.

- smoothmap.pro
This procuedure creates a smoothed map of some quantity sampled, with uncertainty, at irregualr points across the sky.

- stack__define.pro
This class provides an array-based implementation of a stack.

- stamp.pro
- strflat.pro
- strtrun.pro
This function removes the last section from a string

- sumofsmalls.pro
This function calculates the sum of very small numbers in a way that avoids computer underflow errors.

- swap.pro
The procedure swaps two variables

- test.pro
- time2string.pro
This function converts a time length in seconds to a more readible string version of that number in years, days, minutes, and seconds

- tsumcumul.pro
This function uses the trapezoidal rule to perform a running integration of tabulated data.

- tvblink.pro
Blink between several images, without having to manually set up the plotting windows.

- union.pro
This function returns the union of two vectors.

- upperlim.pro
This function computes an upper limit for the strength of a signal embedded in a sequence of noisy measurements.

- vector__define.pro
These routines define a vector data type.

- verbiage.pro
This procedure proivdes a mechanism to report messages of various priorities within programs.

- wmean.pro
Calculates the weighted mean of a set of measurements.

- wrap.pro
This function wraps one or more values into the range [0, range).

- write_ds9reg.pro
This procedure writes an array of ds9region structures (defined in the Beaumont IDL library) into a region file that ds9 undertands

- xyzadv.pro
This procedure is an extenion of (and a wrapper for) the xyad program in the astronomy user's library.

- ysotag.pro
This function tags sources with IR excess based on their colors in Spitzer IRAC bands 1-4.