About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/regprintregion.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 regPrintRegion Context: region

Synopsis

Print out details about a region.

Syntax

regPrintRegion( Region_Type Region )

Description

The regPrintRegion routine prints the various shapes and components within a region to the screen (i.e. to stdout).

Example 1

chips> require("region")
chips> reg = regParse("circle(10,10,4)")
chips> print(reg)
Region_Type
chips> regPrintRegion(reg)

1 Circle(10.000000, 10.000000, 4.000000) (Pos: pixel, Size: pixel)

Example 2

chips> reg = regParse("circle(10,10,4)-rect(4,2,5,4)")
chips> regPrintRegion(reg)

1 Circle(10.000000, 10.000000, 4.000000) (Pos: pixel, Size: pixel)
1 !Rectangle(4.000000, 2.000000, 5.000000, 4.000000) (Pos: pixel, Size:
pixel)

CHANGES IN CIAO 3.2

The regRegionString() function, added in CIAO 3.2, can also be used to provide information on the shape of the region.

Bugs

See the bugs page for the region library on the CIAO website for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.