Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.adass.org/adass/proceedings/adass00/reprints/P1-30.pdf
Дата изменения: Wed May 30 01:24:14 2001
Дата индексирования: Tue Oct 2 11:17:37 2012
Кодировка:

Поисковые слова: m 31
Astronomical Data Analysis Software and Systems X ASP Conference Series, Vol. 238, 2001 F. R. Harnden Jr., F. A. Primini, and H. E. Payne, eds.

An Ob ject Oriented Design for Monitoring the Chandra Science Instrument X-ray Background
J. G. Petreshock, S. J. Wolk, M. Cresitello-Dittmar, T. Isobe Harvard-Smithsonian Center for Astrophysics, 60 Garden Street, Cambridge, MA 02138 Abstract. The Monitoring and Trends Analysis (M&TA) System for the Chandra X-ray Observatory consists of multiple software threads designed to monitor and visualize spacecraft behavior. The Science Instrument (SI) background monitoring is one such thread that is designed to compile a temporally and spatially ordered table of the observed flux and energy spectrum in detector coordinates. In this paper we describe the design of the tools, and applications of the data products generated, and the output product flexibility.

1.

Introduction

As part of the M&TA1 System (Wolk et al. 2000) the SI Background (SIB) monitoring thread is based on C++ tools designed with ob ject oriented design methodologies that provide flexibility for generating SIB maps. These tools and several PERL wrapper scripts are woven together to form a pipeline (see Figure 1) used by the Chandra2 X-ray Center Data Systems (CXCDS) pipeline processing system (Plummer 2001). The resultant products will provide a means for visualization and quantitative analysis of temporal variations in sky emission and instrument background. The extremely high angular resolution and sensitivity of Chandra makes this a unique problem among active X-ray telescopes. But these extremes also hold the promise of producing a background map of unparalleled resolution. We will discuss and demonstrate the current suite of tools used for monitoring the SIB for a single Chandra Flight Instrument, the Advanced CCD Imaging Spectrometer (ACIS). 2. Goals and Importance

Understanding Chandra's background is an important factor in driving Science Operations (SciOps) decisions. For example, if we detect lower background levels while the spacecraft is within the magnetotail then we can schedule observations of low surface brightness targets during these times.
1 2

http://cxc.harvard.edu/mta http://chandra.harvard.edu/

467 c Copyright 2001 Astronomical Society of the Pacific. All rights reserved.


468

Petreshock, Wolk, Cresitello-Dittmar, and Isobe
LR | HR Band

L1 EVT
(Weekly)

mta split chipevt
obs excl

mta extract srcs
CHIP EVT BKG EVT

mta gen sibkg
SI BKG SI BKG (Weeklies)

mta merge sibkg

mta gen sibkgrpt

HTML, PNG

FLR STATS SI BKG (Weekly, Monthly, Yearly,Mission)

SRC REG

Figure 1.

SIB pipeline flow chart.

3.

Software Requirements

Depending upon the SI configuration and individual observation configurations, Chandra can collect well over 1.0GB worth of event data per week. This large data volume was another aspect of the SIB monitoring problem that had to be handled. We solved this problem by binning the data by time according to event time stamps, thus increasing data manageability. The SIB monitor is designed to detect temporal and spatial variations in the background count rates and characterize flare properties including: rates, intensities, and durations. Flares are identified by comparing background count rates for each energy band against predefined limits. Background values that exceed these limits are flagged as flares. This is demonstrated by Figure 2, which diagrams a one dimensional view of the parameterized temporal and energy binning performed by the SIB tools. These parameters are controlled via the individual tools parameter file using the CXCDS parameter interface library. The flexibility of the parameterization provides control over the data volume and thus increased data manageability. This flexibility also allows users to create products that range from a purely instrumental background analysis to a finely binned sky map. The SIB monitoring generates FITS compliant binary tables. The CXCDS DataModel (DM) provides the interface between the classes and the FITS file reading and generation. Each class is equipped with data members that store pointers to DM variables used to connect with the FITS file. 4. Classes

The five classes created for the SIB monitor were designed to interface using cascading levels of data encapsulation. This design provides flexibility with class handling. With only slight modifications, specifically function overloading, these classes were capable of being used within both the mta gen sibkg tool that generates the SIB monitor products and the mta merge sibkg tool that is used to merge multiple SIB monitor products together. To reduce the memory usage by the SIB tools, the classes are designed with time being the primary processing key, followed by sky coordinates (Right Ascension, and Declination) and finally energy. X-ray Events from input files are processed per time bin (see Figure 2).


An OO Design for Monitoring the Chandra Background

469

flare

flare threshold x-ray counts

time bins o time

Figure 2.

Single energy band Binning Diagram.

When an event from a new ti to a FITS file and the ob ject data from the new time bin. subsections in order from base 4.1. EnergyBand

me bin is containers The SIB classes to

detected, the ob jects flush their data are reset in preparation for receiving classes are described in the following higher level derived classes.

This class is the basis of the M&TA SIB stores information about energy bands ranges, the band name, and a pointer to functions to store the information for a the data to FITS file. 4.2. EnergyBandContainer

monitoring, the EnergyBand (EB) class such as the number of events, energy the output FITS column. The EB class time bin and is responsible for writing

The EnergyBandContainer is a container class for EB ob jects and stores the information for the energy spectrum as defined by the user configurable energy band definitions files. This container class provides a clean interface hiding the work of event processing from the higher level classes. 4.3. SkyLocation

The SkyLocation class is a derived class from EnergyBandContainer. A SkyLocation ob ject describes the energy spectrum for a given parcel of the sky. For the case that the sky coordinates are undersampled (i.e., sky is resolved into one pixel) the SkyLocation ob ject represents the SIB. 4.4. mtaSIBkgMap

The mtaSIBkgMap is a container class for SkyLocation ob jects and represents the full observed background map. This is the class responsible for controlling the highest level of event processing and provides a clean control interface with the lower level ob jects.


470 4.5.

Petreshock, Wolk, Cresitello-Dittmar, and Isobe EnergyBandDefinitions

This class is used to read and store the EB definitions indicated by the energy band definitions parameter. The sole function for this class it to provide a template to populate new EnergyBandContainer ob jects. This class is not a derived class, and operates in conjunction with the mtaSkyBkgMap class to initialize the required ob jects for event processing. 5. Data Products

The SIB monitor products for the ACIS instrument contain a column for each energy band defined within the input energy band definitions files as well as a time column and a flare column. The flare column is defined as an N element bit array that represents each energy band. These FITS products are currently used to generate light curves, flare statistics, and temporal spectral variability plots. 6. Discussion

In any experiment, understanding the signal and background components within a data set is a crucial step, and SIB monitoring provides a useful quantitative analysis of several background properties. The analysis of SIB properties can also be used to update target scheduling, to increase Chandra's observational efficiency. Our application of these simple classes allows us to handle the large volume of X-ray data from Chandra efficiently and effectively. The SIB monitor products are ideal for integration into the M&TA trend analysis thread and for use in multisystem correlations with data in existing M&TA databases. The rebinning of sky coordinates allows a basic means for generating the observed X-ray background map. With future versions of the M&TA SIB monitoring we plan to provide the capability to generate higher resolution background maps by applying archived aspect solutions to the background information in detector coordinates. Also, the knowledge acquired by monitoring Chandra's SIB can be applied toward future missions and thus potentially increase cost effectiveness. Acknowledgments. This pro ject is supported by the Chandra X-ray Center under NASA contract NAS8-39073. References Petreshock, J. G., Wolk, S. J., & Cresitello-Dittmar, M. 2000, in ASP Conf. Ser., Vol. 216, Astronomical Data Analysis Software and Systems IX, ed. N. Manset, C. Veillet, & D. Crabtree (San Francisco: ASP), 475 Plummer, D. 2001, this volume, 475 Wolk, S. J., et al. 2000, in ASP Conf. Ser., Vol. 216, Astronomical Data Analysis Software and Systems IX, ed. N. Manset, C. Veillet, & D. Crabtree (San Francisco: ASP), 453