THE O.A.R. IDL LIBRARY     (Version 1.01)
by Gianluca Li Causi


From this page you can download the source codes of some useful IDL procedures and functions collected here at the Rome Astronomical Observatory.

Read about the Library Philosophy and Structure to get aknowledged on how it works.

REFERENCE THIS LIBRARY:
Please, aknowledge the use of the Library in your publications as follows:
"O.A.R. IDL Library - http://www.oa-roma.inaf.it/".

ADD YOUR CONTRIBUTION
(registration required)
ADD A SINGLE PROCEDURE OR FUNCTION ADD A FULL APPLICATION
ADD A LINK ON IDL





PROCEDURES AND FUNCTIONS:

In this section are collected single IDL routines to be called from inside other IDL programs, click on each one to view a detailed description.

The routines of this section can also be downloaded all together in compressed .tar.gz format

Click here to view all the routines in detail.

GRAPH - COLORS MANIPULATION
  • MYCOLORS        Returns a structure to easily use the basic colours in screen or postscript.

GRAPH - DISPLAY IMAGES AND VOLUMES
  • TV_GOHSS        Display any image with various automatic gray levels.
  • ZSCALE_RANGE        Computes the best levels cuts for displaying astronomical images using IRAF zscale algorithm.

GRAPH - INTERACTIVE
GRAPH - PLOTTING 2D AND 3D
  • FT_PLOT        Plots a Fourier Transform with right frequency axis and labels
  • FT_SURFACE        Plots a 2D Fourier Transform with right frequency axis and labels
  • PLOT_LOG        Optimization of Logarithm plots
  • WINDOWS_CLOSE_ALL        Close all the current Windows
  • MEMO_PLOT        Allow to use OPLOT or PLOTS over 2D or 3D plots on many windows at the same time.
  • OPLOTERR_XY        Overplot both X and Y error bars or draw an error eclipse over an existing plot.
  • SEGMENT        Draws one or more segments inside a 2-D image.
  • TV_ELLIPSE        The same as TVELLIPSE of the ASTROLIB but with the no_clipping added.

FILES INPUT-OUTPUT
  • READ_PARAMETERS        Reads keyword values from an ASCII file.
  • READ_PARAMETERS_NUMBER        Returns the number (and optionally the names) of the keywords in an ASCII file. Returns the number (and optionally the names) of the tags in an ASCII file
  • WRITE_PARAMETERS        Updates an ASCII files with keywords, to be read by READ_PARAMETERS.

MAPPING
  • PLOT_LON_LAT        Plot data on a spherical map autoscaling map center and limits.

MATH - GENERAL
  • CARLSONA_12        Numerical integration of a function defined on a sphere
  • PERMUTATION        Computes all the permutation whithout repetition of the elements in the input array.
  • SGN        Return the sign of its argument.
  • SPLINE_DOUBLE        The same of idl SPLINE function but DOUBLE precision.

MATH - STATISTICS
  • STAT        Computes an extended statistics of an array.
  • STDEV_MED        Compute the Standard Deviation as the MEAN or the MEDIAN of the squared deviations from the MEDIAN.

MATH - GEOMETRY
  • ANG_BAR        Baricenter on the Sphere
  • ANG_DIST        Distance on the Sphere
  • INSIDE        Check if a given point is outside or inside a convex quadrilater.
  • SS_DECIMATEDOUBLEPOS        To find double/multiple entries in a list of positions x,y (or ra,dec)
  • OVERLAP        Computes the area of the intersection of two convex quadrilaters.
  • POLE_SPHERE_CIRCLE        Computes the sherical coordinates of the north pole of a circle for three points on a sphere or of the maximum circle for two points.
  • ROTRANSCAL        Computes the roto-translation and scaling parameters between two corresponding sets of points.

PROCESSING - SIGNAL 1D
  • MED_NEIGBORHOOD        Compute the median of an array avoiding the central point..
  • PIX_SAMPLE_1D        Computes the 1D pixel sampled vector of a y(x) profile given on a regular or irregular grid.

PROCESSING - IMAGES AND MULTI-DIMENSIONAL
  • FSHIFT        Shifts an image of fractional pixel offsets
  • ENLARGE_CANVAS        Add a border to an image
  • FFT_CONVOLUTION        Computes the convolution of two or many 1D to 3D arrays by using the FFT.
  • PIX_SAMPLED_POLAR_SURFACE        Computes the pixel sampled z-axis revolution of a profile z(r) given on a regular or irregular grid.
  • RADIAL_PROFILE        Radial profile revolution image with median, mean, min or polyfit.
  • STACK_FRAMES        Compute the SUM, MEAN, MEDIAN or SIGMA-CLIPPED AVERAGE of a set of 2-D images.

'START', ) ?>
PROGRAM - FLOW CONTROL
  • FSHIFT        Shifts an image of fractional pixel offsets
  • ENLARGE_CANVAS        Add a border to an image
  • FFT_CONVOLUTION        Computes the convolution of two or many 1D to 3D arrays by using the FFT.
  • PIX_SAMPLED_POLAR_SURFACE        Computes the pixel sampled z-axis revolution of a profile z(r) given on a regular or irregular grid.
  • RADIAL_PROFILE        Radial profile revolution image with median, mean, min or polyfit.
  • STACK_FRAMES        Compute the SUM, MEAN, MEDIAN or SIGMA-CLIPPED AVERAGE of a set of 2-D images.

SPEC - FITS
  • SX_RIORDINA        Sort the FITS header so that the last keywords are HISTORY and COMMENTS

SPEC - SIMULATION
  • GRID_IMAGE        Creates an image of a grid of points or rectangles, with optional distortion

VAR - ARRAYS
  • POLY_NEW        Evaluate a polynomial function of a variable.
  • TRIANGULAR_KERNEL        Compute a triangular normalized kernel
  • ARRAY_SCALAR_INDEX        Returns the scalar index of a given element in a multi-dimensional array.
  • VARIABLES_COLLECTION        Create and manage pseudo-arrays with different type/dimensions for each element.

VAR - STRINGS
  • IS_NUMBER        Check if a string has only numerical characters (also scientific notation).
  • STR_SUBST        Replace all the occurrences of a substring with another substring.
  • STR_WRAP        Divide one or more strings in pieces of a given lenght.

WIDGETS DIALOGS AND GUI
  • WIDGET_CLOSE_ALL        Delete the currently managed Widgets
  • MULTI_DIALOG        Powerful widget panel to accept user inputs in multiple ways or give textual informations.
  • WIDGET_HIERARCHY_STRUCTURE        Return a structure with the widget IDs of all widget elements belonging to a given widget\'s hiararchy.





FULL APPLICATIONS:

This section contains self-consistent IDL programs which performs specialized tasks and that in some cases also provide a Graphical User Interface (GUI).

Some of them are pre-compiled and can be executed without IDL via the IDL Virtual Machine.

Click here to view all the applications in detail.

FULL APPLICATIONS




USEFUL LINKS:

- http://www.rsinc.com/idl/index.asp?l=English&
IDL The Interactive Data Language: the IDL homepage from RSI
- http://www.rsinc.com/idlvm/index.asp
The IDL Virtual Machine
- http://idlastro.gsfc.nasa.gov/homepage.html
The IDL Astronomy User's Library
- http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.idl-pvwave
Worldwide Discussion Group on IDL. Group: comp.lang.idl-pwave
- http://www.dfanning.com/
David Fanning IDL page: courses, routines, help, books etc on IDL
- http://www.astro.washington.edu/deutsch/idl/index.html
IDL Libraries of Department of Astronomy, University of Washington
- http://www.star.ucl.ac.uk/~src/astronomy/IDL/description.html
Stuart Astronomy IDL Collection
- http://cow.physics.wisc.edu/~craigm/idl/idl.html
Markwardt IDL Library
- http://www.lmsal.com/solarsoft/
SolarSoft, a big library for Solar astronomers
- http://fuse.pha.jhu.edu/analysis/fuse_idl_tools.html
Link to FUSE tools for spectroscopic data tretment, several routines are of quite general use





USERS' PANEL
SUBSCRIBE TO E-MAIL INFORMATION

UN-SUBSCRIBE FROM E-MAIL INFORMATION

REGISTER AS FULL USER

UN-REGISTER AS FULL USER
(login required)
WRITE TO OTHER USERS
(login required)


-->