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

URL: http://cxc.harvard.edu/ciao/ahelp/mkbgreg.html
AHELP for CIAO 4.9

mkbgreg

Context: tools

Synopsis

Creates a stack of background regions for a given source list

Description

The mkBgReg.pl script takes an input source list and scaling factor (N). It creates a list of background regions with radii N times the source radii.

The script works on CIAO format region files for circular and elliptical regions in physical coordinates.

This script is used in conjunction with mkSubBgReg.pl ("ahelp mksubbgreg") in the Create an Image of Diffuse Emission thread.

Example

unix% mkBgReg.pl
ASCII region file (CIAO format): sources_mod.reg
Multiply source radius by: 2
Output filename: bkg.reg

Create a stack of background regions centered on the source regions in "sources_mod.reg" with radii twice as large.

Note that the script always prompts for the inputs, even if they are supplied on the command line.

About Contributed Software

This script is not an official part of the CIAO release but is made available as "contributed" software via the CIAO scripts page. Please see the installation instructions page for help on installing the package.

Bugs

See the bugs page for this script 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

concept
subspace
dm
dmregions
tools
dither_region, dmcontour, dmgroupreg, dmimgdist, dmimgfilt, dmimghull, dmimglasso, dmmakereg, get_src_region, mksubbgreg, roi, splitroi, tg_create_mask

Last modified: December 2009
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.