Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 26 October 2016

URL: http://cxc.harvard.edu/ciao/bugs/reproject_events.html

Bugs: reproject_events


Table of Contents

Caveats

  • match parameter cannot take image as match input.

Bugs


Caveats

match parameter cannot take image as match input.

The match parameter does not accept images as input. The warning message

# reproject_events (CIAO 4.5): Error: failed to open match file foo.img

does not make this clear to users.


Bugs

All events are lost after reprojection /
The tool needs one good time interval per chip

If the subspaces of the two files don't match - e.g. observation A was taken with S5 and that chip wasn't used in observation B - all the events are dropped from the output file (not just those on the chip that's missing).

The bug may also be described as: the tool needs one good time interval (GTI) per chip, otherwise the time for the other CCDs is set to zero.

No error message with invalid match value.

Setting the match parameter to an invalid RA/Dec (eg RA < 0 or Dec > 90 value does not trigger a warning and the tool will run to completion with undetermined results.

All events are lost after reprojection /
The tool needs one good time interval per chip

If the subspaces of the two files don't match - e.g. observation A was taken with S5 and that chip wasn't used in observation B - all the events are dropped from the output file (not just those on the chip that's missing).

The bug may also be described as: the tool needs one good time interval (GTI) per chip, otherwise the time for the other CCDs is set to zero.

Running dmcoords on reprojected event files will result in incorrect chip locations.

The *NOM values from the original (unprojected) input file are copied to the output file. These values need to be updated to match the new WCS in order for dmcoords to work properly.

Running without updating the header will result in a warning from dmcoords:

unix% dmcoords reproj.fits
# dmcoords (CIAO): Warning: RA_NOM DEC_NOM different from WCS

# dmcoords (CIAO): RA_NOM DEC_NOM = 224.013371 -68.725793 
                                  WCS = 224.013323 -68.725752 

Running the tool on a spatially filtered file does not update the "region" subspace.

The spatial filter is recorded in the file subspace, but it is not reprojected when reproject_events is run. When reproject_events changes the sky tangent point, the region in the subspace is "shifted" in the reference frame.

In many cases, users run into this problem when they do the following order of events:

  1. Use a spatial filter to select certain ACIS chips (e.g. just the ACIS-I array)
  2. Run reproject_events on the filtered event file
  3. Attempt to extract spectra with a source list.

The final output has zero exposure and/or empty GTIs because the source list and the initial, unshifted region filter (stored in the file subspace) don't intersect.

Workaround:

Use the DM subspace-editing capabilities to delete the filter specification written in the file subspace:

unix% dmcopy "reprojected_file.fits[subspace -sky]" reprojected_file_fix.fits

An alternative is to run reproject_events before applying any spatial filtering.


Last modified: 26 October 2016
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.