I just remembered you'll need this beauty in order to run

I like to use IDL to make nicely formatted tables or listings of data to drop into, say, latex or other software. One of my pet peeves in IDL is that the numbers always give a large number …

Read more… • Posted in: IDL

Hubble Profile Script

Here's a useful little script I wrote in IDL. It allows you to send it 2 arrays (x and y data) and then you can plot the data, and fit it with a Hubble profile:

y = I * (1 + x/r_c)^(-a)

where I, r_c and a are constants representing the vertical scaling …

Read more… • Posted in: IDL