next up previous contents pdf.png
Next: 7.7 EXTRACT_EVENTS Stage Up: 7 Using ACIS Extract Previous: 7.5 Caveats

Subsections



7.6 CONSTRUCT_REGIONS Stage

This stage is run at least once for each observation. If a source's position is revised this stage must be run again.

7.6.1 Actions

7.6.2 Usage and Inputs

acis_extract, catalog_filename, obsname, obsdata_filename, /CONSTRUCT_REGIONS, EMAP_FILENAME=filepath, ASPECT_FN=filepath, /S_AIMPOINT, /PIPELINE_RANDOMIZATION, MASK_FRACTION=value, MASK_MULTIPLIER=value, /REGION_ONLY, /DIFFUSE


acis_extract, srclist_filename, obsname, /CONSTRUCT_REGIONS, /PLOT


EXAMPLE:
idl $\vert\&$ tee construct_regions_1875.log


acis_extract, 'all.cat', '1875', '../obs1875/spectral.evt', /CONSTRUCT_REGIONS, EMAP_FILENAME='../obs1875/obs.emap'


acis_extract, 'all.srclist', '1875', /CONSTRUCT_REGIONS, /PLOT


In the above example, IDL is started with a tee to a log file, for documentation purposes.

7.6.3 Data Products

For each source the following files are produced:
{sourcename}/source.stats:
a FITS file containing keyword information about the source; view with dmlist source.stats header. If this file already exists it is modified, rather than destroyed and re-created (as of AE 3.106).

{sourcename}/{obsname}/extract.reg:
a ds9 region file containing source extraction and mask regions. The mask region is identified using the ds9 region property ``background''.

{sourcename}/{obsname}/source.psf:
a FITS file containing PSF images at 277, 1497, 4510, 6400, and 8600 eV, placed at the source position

{sourcename}/{obsname}/obs.stats:
a FITS file containing keyword information about this observation of the source; view with bf dmlist obs.stats header

The following interactive plots are produced:

``Area of Source Region via polyfillv'' vs ``Off-axis Angle''
a scatter plot of aperture area (estimated by IDL) as a function of off-axis angle

``PSF/Catalog Offset'' vs ``Off-axis Angle''
The quantity ``PSF/Catalog Offset'' is the offset between the requested source position passed to mkpsf and the centroid of the primary-energy PSF image returned by mkpsf. This plot was produced for two reasons: (1) to look for astrometric errors in the mkpsf software, (2) to better understand the asymmetry of the PSF, i.e. to what extent the source ``position'' is not at the ``center'' of the PSF.

``PSF Fraction'' vs ``Source #''
a plot of the requested and actual PSF fraction (at the primary energy) for each source

``$\sim$Distance Between Source Regions'' vs ``Source #''
For each source the nearest neighboring source is identified and the minimum distance between the two extraction polygons is estimated and plotted. A negative result is a crude ``crowded field flag'', i.e. a warning to the observer that the polygons of the two source are likely to overlap and should be examined by hand.

``Pairs of Crowded Sources''
a scatter plot of the source numbers for nearest-neighbor pairs with extraction regions separated by less than 2 pixels

``CROPFRAC'' vs ``Off-axis Angle''
a scatter plot of adjustment made to the PSF normalization (at 277 eV and 8 keV) to account for the cropping of the PSF images.

``PSF pixel size'' vs ``Off-axis Angle''
a scatter plot of the pixel size chosen for the PSF images of each source.

The data vectors plotted above are retained in an IDL save file named construct_regions_{obsname}.sav. They can be loaded back into IDL with the standard restore command, e.g. :
    restore, 'construct_regions_1875.sav',/VERBOSE


next up previous contents pdf.png
Next: 7.7 EXTRACT_EVENTS Stage Up: 7 Using ACIS Extract Previous: 7.5 Caveats
Patrick Broos
Penn State Department of Astronomy
2009-08-12