Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 28 November 2012

URL: http://cxc.harvard.edu/chips/bugs/images.html

Bugs: images & colormaps


Table of Contents

Caveats

Bugs


Caveats

Handling of NaN and Inf values

Chips converts NaN pixel values to the minimum data value (and +Inf values to the maximum data value). This may make it difficult to differentiate those values from finite pixel values.


Bugs

Missing minor tick marks for sexagesimal-formatted axes

Some minor ticks may not be rendered when an image is zoomed out and tickformat=%ra or %dec. This only appears to happen when the axis covers a large range (e.g. 10 degrees) and is relatively close to one of the poles.

As an example, there are no minor tick marks South of -60 in

[The Y axis covers more than 10 degrees, but there are no minor tick marks South of -60]

which was created with the following code

chips> add_image('broad_flux.img', ['depth', 50, 'threshold', [0, 1e-6]])
chips> set_xaxis(['tickformat', '%ra'])
chips> set_yaxis(['tickformat', '%dec'])
chips> set_axis('all', ['tickstyle', 'outside'])
chips> zoom(0.9)
chips> set_plot_aspect_ratio('fit')

Gamma correction is ignored in SAO color maps.

True color images cannot be added when using only a single red component.

This will default to being a pseudo-color image.

True color images cannot be thresholded or inverted.


Bugs fixed in CIAO 4.5

The following is a list of bugs that were fixed in the CIAO 4.5 software release.

1-D arrays are not supported

add_image will print an error:

chips-60> add_image("one-d.img")
chips ERROR: The length of the data values (143) does not match the
specified dimensions (143 x 143) 

chips-61> !dmlist one-d.img blocks

----------------------------------------------------------------------
Dataset: one-d.img
----------------------------------------------------------------------
 
     Block Name                          Type         Dimensions
----------------------------------------------------------------------
Block    1: diff.rest.txt_IMAGE            Image      Int2(143) 

Last modified: 28 November 2012
CXC logo

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-2012. All rights reserved.