Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/ciao/ahelp/regregionstring.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.9

regRegionString

Context: region

Synopsis

Converts a region object into a string.

Syntax

regRegionString(reg)

Description

The regRegionString returns a string representation of the region.

The region module is not available by default; see "ahelp region" for information on loading the module.

Example 1

>>> from region import *
>>> r1 = regParse("circle(10,10,4)")
>>> print(regRegionString(r1))
Circle(10,10,4)

Example 2

>>> r2 = regParse("circle(10,10,4)-rect(4,2,5,4)")
>>> print(regRegionString(r2))
Circle(10,10,4)&!Rectangle(4,2,5,4)

Bugs

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

Refer to the CIAO bug pages for an up-to-date listing of known issues.

See Also

region
regarea, regextent, reginsideregion, region, regparse, regprintregion, regregionstring

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

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