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

Skip the navigation links
Last modified: March 2007

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

Synopsis

Run dmimg2jpg to make a color JPEG image

Syntax

color_image -i infile -o outfile -x xcenter -y ycenter -w width -b
binfac -S minsoft:maxsoft -M minmed:maxmed -H minhard:maxhard

Description

The color_image script run the dmimg2jpg tool virtual files as input. The script syntax is:

unix% color_image 
Usage: color_image -i infile -o outfile -x xcenter -y ycenter 
                   -w width -b binfac
                   -S minsoft:maxsoft -M minmed:maxmed -H minhard:maxhard
       xcenter, ycenter - Image Center in Sky Coordinates (X,Y)
       width            - Size of image in X and Y
       binfac           - Binning factor in X and Y
       minsoft:maxsoft  - Min, Max energies in eV for soft band
       minmed:maxmed    - Min, Max energies in eV for medium band
       minhard:maxhard  - Min, Max energies in eV for hard band
Help:  color_image -h   - Print this message

This script is used in the Create A True Color Image thread.

Example

color_image -i acisf01838N001_evt2.fits -o script_1838.jpg -x 4076 -y
4257 -w 250 -b 1 -S 200:1500 -M 1500:2500 -H 2500:8000

Create a color image for ObsID 1838 that is 250 pixels wide and centered at (x,y)=(4076,4257). The energy bands are 200:1500 (soft band), 1500:2500 (medium band), and 2500:8000 (hard band).

NOTES

This script is not an official part of the CIAO release but is made available as "contributed" software via the CIAO scripts page. Please see the installation instructions page for help on installing the package.

Bugs

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

Hardcopy (PDF): A4 | Letter
Last modified: March 2007



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.