About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: 1 Dec 2006
Hardcopy (PDF): A4 | Letter

Overview: Reprojecting Files

[CIAO 3.4 Science Threads]



Overview

Last Update: 1 Dec 2006 - reviewed for CIAO 3.4: no changes

Synopsis:

The CIAO 3.3 software release included three new tools useful for reprojecting files with different coordinate WCS: reproject_aspect, reproject_image, and reproject_image_grid. Joining the existing tools reproject_events and sso_freeze, there are now five different tools for reprojecting files available.

Purpose:

To describe the tools available for reprojecting event, image, and aspect files in CIAO, and provide links to the threads that use them.

Proceed to the HTML or hardcopy (PDF: A4 | letter) version of the thread.




Contents



reproject_aspect: minimize position differences between two files

reproject_aspect applies corrections for translation, scale, and rotation to the WCS of a file. It compares two sets of source lists from the same sky region. If three or more sources are found to be a close match in position, the tool calculates the transformation that relates the two files and updates the WCS mapping from SKY(X,Y) to (RA,Dec) either by modifying the aspect solution or by revising the WCS keywords, depending on how the parameters are set.

reproject_aspect is actually a script which runs two tools: wcs_match and wcs_update. These tools may be run individually for slightly more flexibility; see the help files for details.

This tool is the most accurate method of reprojecting a file, but does depend on source lists for each observation being available. Note that the source list from the archive (src2.fits file) is not accurate enough for use with this tool. Users should create a new source list by running one of the detect tools; wavdetect is recommended because of its ability to separate closely spaced point sources. The Running wavdetect thread illustrates how to use the tool.

Threads:



reproject_events: regrid an event file to a common tangent point

reproject_events calculates new sky coordinates for the input event file using the WCS from the match file. There are two modes of operation:

  1. the new sky coordinates are evaluated assuming the old aspect solution was correct, and
  2. the user supplies a new aspect solution and the sky coordinates are calculated from scratch, independent of the original aspect solution.

Refer to the help file for details on each approach.

Threads:



reproject_image: match one image to another

reproject_image maps an image in one WCS reference frame to the WCS of a match image. If a match image is not available, use reproject_image_grid instead.

reproject_image has a parameter (method) which controls whether the input files are summed or averaged together; "sum" is typically used to reproject the counts image and "average" is used to reproject the exposure map when making fluxed images.

Threads:



reproject_image_grid: project an image to a WCS grid

reproject_image_grid maps an image in one WCS reference frame to a specified WCS grid. This tool works similarly to reproject_image, but does not require a match image.

reproject_image_grid has a parameter (method) which controls whether the input files are summed or averaged together; "sum" is typically used to reproject the counts image and "average" is used to reproject the exposure map when making fluxed images.

Threads:



sso_freeze: reproject a solar system object

sso_freeze reprojects the coordinates in an event file from the frame fixed to the celestial sphere to the frame of the object. This eliminates the blur that occurs when an object (e.g. a planet or comet) is observed moving with respect to the observer.

Thread:



Note: using stacks of input files

All of the reproject tools can take a stack of files in the input parameter, but they do not all handle the stack in the same way. For instance, reproject_events creates a separate output file for each item in an input stack, while reproject_image creates a single merged image from the stack. Refer to the individual tool help files for details on how they handle a stack of input files.



History

04 Apr 2006 new for CIAO 3.3: original version
24 Apr 2006 The Correcting Absolute Astrometry with reproject_aspect thread is now available; link added to this thread
06 Jun 2006 added "Merging Data from Multiple Imaging Observations" thread to reproject_aspect section
01 Dec 2006 reviewed for CIAO 3.4: no changes

Return to Threads Page: Top | All | Imag
Hardcopy (PDF): A4 | Letter
Last modified: 1 Dec 2006


The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.