Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

write_ds9reg.pro

topwrite_ds9reg

write_ds9reg, file, regions, system

This procedure writes an array of ds9region structures (defined in the Beaumont IDL library) into a region file that ds9 undertands

Currently, only circle, ellipse, and box regions are supported by write_ds9reg.

Parameters

file in required

The name of the file to write to.

regions in required

An array of ds9reg structures (see ds9reg__define.pro)

system in required

The coordinate system to use. Choices are: PHYSICAL, IMAGE, FK4, B1950, FK5, J2000, GALACTIC, ECLIPTIC, ICRS

File attributes

Modifcation date: Fri Jul 8 13:57:58 2011
Lines: 96