next up previous contents pdf.png
Next: 7.10 MODIFY ARF Stage Up: 7 Using ACIS Extract Previous: 7.8 SHOW_REGIONS Stage

Subsections



7.9 EXTRACT_SPECTRA Stage

This stage is run for each observation to perform the final spectral extraction in preparation for spectral fitting, as shown in Figure 8.

7.9.1 Actions

7.9.2 Usage and Inputs

The CIAO tools used in this stage require that you configure ardlib.par for the observation you're processing: AE will print the relevant parts of ardlib.par and pause briefly for you to review these, to make sure that the correct ardlib.par file is being referenced and that it contains the correct bad pixel, QEU, and RMF entries.

acis_extract, srclist_filename, obsname, obsdata_filename, /EXTRACT_SPECTRA, ENERGY_RANGE=[energy,energy], EMAP_FILENAME=filepath, ASPECT_FN=filepath, ASPHIST_DIR=directory, ARDLIB_FILENAME=filepath, PBKFILE=filepath, MSKFILE=filepath, WARNING_REGION_FILENAME=filepath, NEIGHBORHOOD_SIZE=value, /REUSE_NEIGHBORHOOD, /USE_MKRMF


acis_extract, srclist_filename, obsname, /EXTRACT_SPECTRA, /PLOT


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


acis_extract, 'all.srclist', '1875', '../obs1875/spectral.evt', /EXTRACT_SPECTRA, ENERGY_RANGE=[0.5,8], EMAP_FILENAME='../obs1875/obs.emap', ASPECT_FN='../obs1875/obs.asol', ASPHIST_DIR='../obs1875/asphist', ARDLIB_FILENAME='../obs1875/ardlib.par', PBKFILE='../obs1875/obs.pbkfile', MSKFILE=='../obs1875/obs.mskfile, WARNING_REGION_FILENAME='warning.reg'


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

7.9.3 Data Products

For each source the following files are produced:
All data products from the EXTRACT_EVENTS stage (§7.7) are also produced by EXTRACT_SPECTRA.

{sourcename}/{obsname}/source.pi:
the spectrum of the source

{sourcename}/{obsname}/source.rmf:
the RMF at the source position for the CCD containing the majority of the band-limited events in source.evt

{sourcename}/{obsname}/sourcei.arf:
the ARF at the source position for CCD i

{sourcename}/{obsname}/source.arf:
the multi-CCD, PSF fraction reduced ARF at the source position

{sourcename}/{obsname}/obs.stats:
a FITS file containing keyword information about this observation of the source

The following interactive plots are produced:

All plots from the EXTRACT_EVENTS stage (§7.7) are also produced by EXTRACT_SPECTRA.

``Map of mean ARF value''
a map showing the mean ARF value for each source

``Mean ARF value'' vs ``Source #''
a plot of mean ARF value for each source

``Fraction of Source Counts on Primary CCD'' vs ``Source #''
a plot showing whether each source fell on one ($fraction=1$) or multiple ($fraction<1$) CCDs

``KS significance wrt uniform LC model'' vs ``Source #''
a plot of the KS significance for each source's light curve

``KS significance wrt uniform LC model'' vs ``In-band Counts in Source Region''
a scatter plot of KS significance as a function of observed counts

``Fraction of Source Events in Warning Region'' vs ``Source #''
a plot showing the fraction of source events falling in the regions specified previously via the WARNING_REGION_FILENAME parameter.

The data vectors plotted above are retained in an IDL save file named extract_spectra_{obsname}.sav.


next up previous contents pdf.png
Next: 7.10 MODIFY ARF Stage Up: 7 Using ACIS Extract Previous: 7.8 SHOW_REGIONS Stage
Patrick Broos
Penn State Department of Astronomy
2009-08-12