Skip to the navigation links
Last modified: 14 November 2023

URL: https://cxc.cfa.harvard.edu/ciao/bugs/srcextent.html

Bugs: srcextent


Table of Contents

Caveats

Bugs


Caveats

The srcsize parameter value must be within a factor of 3 of the source size.  (03 Jun 2010)


Bugs

ASCII region files must have more than 1 row.  (30 Jan 2017)

ASCII format region files must contain more than 1 row. This is not a problem for CIAO-format ASCII files saved from ds9, which contain at least 2 rows (first row is a comment identifying the format). This bug only affects region files created by other means.

When using ASCII regions files, CIAO format regions are supported.  (04 Feb 2011)

The tool will fail if there are any non-comment lines in the file other than the region definition:

unix% cat flux.reg
# Region file format: DS9 version 4.1
# Filename: hrcf12810_000N001_repro_evt2.fits[EVENTS]
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" 
source=1
physical
circle(16483.295,16325.297,24.139931) 

unix% srcextent
...
ValueError: substring not found 

Workaround:

Comment out or delete the additional lines in the file:

unix% cat flux.reg
# Region file format: DS9 version 4.1
# Filename: hrcf12810_000N001_repro_evt2.fits[EVENTS]
#global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" 
#source=1
#physical
circle(16483.295,16325.297,24.139931)