Get your own free workspace
View
 

Slug IDL Code

Page history last edited by Robert da Silva 1 year, 2 months ago

These codes are codes in progress and may therefore have bugs. Thus, while we make every effort to insure the codes work properly, we make no guarantees and accept no liability for the use of these codes.

You can grab all of the codes in a convenient tar file: slug_idl.tar (up to date on 3-4-11)

 

  • Basic Astronomy
    • cgs.pro : a program that keeps all CGS physical constants in a tidy structure  
  • Plotting (see Plotting Examples for examples of many of the implementation of many of these codes) 
    • PS file manipulation 
    • rdisplay.pro : allows quick plots of images. requires the following codes for dependencies
    • fraction_caption.pro : allows you to make an IDL plot axis label with a fraction in it  
    • custom_colortable.pro : allows you to create your own color table between your user specified colors as named by fsc_color(). This code is built up of the following subroutine which you also need to run it properly (requires fsc_color())
      • get_colortable.pro  creates a color table between that follows a set of arbitrary colors  
    • plot_w_histo.pro : allows you to make a plot with histograms on the sides. Fully integrated with !p.multi 
  • Multithreading
    • split_for.pro : a super easy program that lets you multithread your for loops 
  • IDL I/O
    • struct_pass.pro : lets you pass structures to child bridge objects (this is to parallelize your code see section Child Processes)
    • rreadcol.pro : an updated version of the ASTROLIB procedure that can read 100 columns 
    • restore.pro : allows better syntax with IDL save files 

 

 

 

Comments (0)

You don't have permission to comment on this page.