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

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/sso_freeze.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 sso_freeze Context: tools

Synopsis

Reproject sky x and y coordinates into a Solar System Object centered reference frame.

Syntax

sso_freeze  infile scephemfile ssoephemfile outfile [logfile] [scale]
[lookuptab] [clobber] [verbose]

Description

sso_freeze reprojects sky x and y coordinates from the nominal coordinate frame fixed to the celestial sphere to a reference frame which is fixed to the moving solar system object (SSO) target. The result is that the new event list table columns ocx and ocy display events as seen from an observer moving with the SSO, eliminating the "blurring" seen in the sky x and y events. Along with the event file, primary input data are the spacecraft ephemeris and SSO ephemeris. Multiple input event files spanning several obsid's can be combined into a single object centered output file, and output object centered coordinates can be either spherical or linear.

Note that it is recommended that linear output object-centered coordinates be chosen instead of angular when combining several ObsID's widely spaced in time. This will avoid the problem of different apparent angular sizes in the object, which occurs when the Chandra-to-object distance has changed significantly. Also note that although X-rays emitted by the SSO may be affected by either SSO rotation or large changes in the sun illumination angle of the SSO, neither effect is taken into account by sso_freeze.

For a detailed example, see the Reprojecting Coordinates of a Solar System Object thread.

Example 1

sso_freeze @evt.lis sc_ephemeris.fits sso_ephemeris.fits
sso_freeze_evt.fits

Create event file with object centered coordinate and distance to object data columns from a set of input event FITS files.

Example 2

sso_freeze @evt.lis sc_ephemeris.fits sso_ephemeris.fits
sso_freeze_evt.fits scale=2000

Linear output coordinates for ocx and ocy are selected, with a scale of 2000 km/pixel.

Parameters

name type ftype def min max reqd
infile file input       yes
scephemfile file input       yes
ssoephemfile file input       yes
outfile file output       yes
logfile file output STDOUT     no
scale real input 0     no
lookuptab file input       no
clobber boolean input no     no
verbose integer input 0 0 5 no

Detailed Parameter Descriptions

Parameter=infile (file required filetype=input)

Input event file or stack.

Multiple input event files can be specified by a stack list file and will produce a single output file.

Parameter=scephemfile (file required filetype=input)

Input spacecraft geocentric ephemeris file or stack.

The time of the initial ephemeris record must be equal to or less than the earliest event record time, and the time of the last ephemeris record must be equal or greater than the time of the last event record. Multiple files can be specified in a stack list file, but must be in ascending time order. Overlapping time records in multiple files are allowed (subsequent ephemeris data at an earlier time is ignored).

Parameter=ssoephemfile (file required filetype=input)

Input solar system object geocentric ephemeris file or stack.

The time of the initial ephemeris record must be equal to or less than the earliest event record time, and the time of the last ephemeris record must be equal or greater than the time of the last event record. Multiple files can be specified in a stack list file, but must be in ascending time order. Overlapping time records in multiple files are allowed (subsequent ephemeris data at an earlier time is ignored).

Parameter=outfile (file required filetype=output)

Output event file name.

Only a single filename is allowed. Multiple input files are combined into a single output file.

Parameter=logfile (file not required filetype=output default=STDOUT)

debug log file.

Allowable values are either a filename - to send the output to a given file - or one of stdout or STDOUT, which sends the information to the standard output (normally the screen).

Parameter=scale (real not required filetype=input default=0)

Image pixel scale.

Values can be 0, indicating spherical coordinates with units of degrees/pixel; -1, indicating linear coordinates with units of "n" km/pixel, where "n" is automatically calculated to result in the same image size as an image produced using spherical coordinates; or some value "n" which is > 0, in which case linear coordinates of "n" km/pixel are used.

Parameter=lookuptab (file not required filetype=input default=)

Lookup table.

Lookup table for output file header merging rules. This defaults to the standard cxcds lookup table.

Parameter=clobber (boolean not required filetype=input default=no)

Overwrite existing output dataset with same name?

Parameter=verbose (integer not required filetype=input default=0 min=0 max=5)

Level of debug detail.

Increasing amounts of debug information is printed to "logfile" as the value of verbose is increased from 0 to 5.

Bugs

See the bugs page for this tool on the CIAO website for an up-to-date listing of known bugs.

Hardcopy (PDF): A4 | Letter
Last modified: December 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.