Anthony Smith's IDL routines

Galaxies etc.

Directory: misc/

.pro files

ajs_add_struct_tags.pro

Add new tags to an existing structure

ajs_corr_mat.pro

Convert covariance matrix to correlation matrix

ajs_cov_mat_plot.pro

Plot 1- and 2-sigma contours for covariance matrix

ajs_debug.pro

Return an integer specifying how verbose the debugging messages should be.

ajs_density_plot.pro

This procedure takes a two-dimensional array and creates a plot displaying the value of the array at each point of the array.

ajs_digamma.pro

Return digamma function (derivative of gamma function divided by gamma function)

ajs_double_gauss.pro

This function returns the sum of two Gaussians, using gauss1 (mpfit).

ajs_ellipse_plot.pro

Plot an ellipse

ajs_gaussnd.pro

This function returns the probability density at a given point _x_ for a multivariate normal distribution with specified mean, covariance matrix and amplitude.

ajs_idldoc.pro

This procedure generates HTML documentation for all routines in Anthony Smith's IDL library, using IDLdoc

ajs_is_monotonic.pro

Return 1 if the array is monotonic, 0 if not

ajs_jackknife.pro

This function returns the jackknife method-estimated standard deviation (and optionally the jackknife mean) of n resamplings of a quantity, where each of the n estimates of the quantity is generated by removing (1/n) of the original sample data points.

ajs_kw_string.pro

This function returns a string specifying values of keywords

ajs_linspace.pro

This function returns an array of points equally (linearly) spaced between two extremes (as Python's numpy.linspace or Matlab).

ajs_logspace.pro

This function returns an array of points equally (logarithmically) spaced between two extremes (as Python's numpy.logspace or Matlab).

ajs_open_file.pro

Open a file using the default system application.

ajs_pause.pro

This procedure invites the user to press return before continuing.

ajs_pixel_plot.pro

Plot (large number of) points as pixels (rectangles), with colour (white->black) representing density

ajs_plot_pos.pro

Return the location on the plot in data co-ordinates given input value(s) between 0 and 1.

ajs_plot_start.pro

Start plot (device/EPS settings, if required)

ajs_plot_stop.pro

Stop plot (device/EPS settings, if required)

ajs_random_sort.pro

Return random indices, or sort an array into random order

ajs_widget_choice.pro

This function displays a widget asking for one or more options to be selected.