Particle tracking using IDL -- John C. Crocker and Eric R. Weeks
Home | Download software | Tutorial | Extra software

These are simple routines to read & write text arrays. Both of these are for 2D arrays only.

IDL> t = fltarr(2,100)
IDL> t(0,*) = findgen(100)*0.2
IDL> t(1,*) = sin(t(0,*))
IDL> write_text,t,'sinewave.txt'
IDL> t2 = readtext('sinewave.txt')

There are several keywords you can use:

These programs were written by John Crocker & David Grier. Eric added /INT. This web page was written by Eric.

Contact us