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

Skip the navigation links
Last modified: 7 March 2008

URL: http://cxc.harvard.edu/ciao3.4/bugs/dmstat.html
Hardcopy (PDF): A4 | Letter

Bugs: dmstat


Caveats

  1. dmstat only works on images if they are 2-dimensional.

Bugs

  1. dmstat reads the null value defined for a column as an integer whether or not the image actually contains integer values.

  2. TNULL values of 0 don't work. [New](07 Mar 2008)


Caveats

  1. dmstat only works on images if they are 2-dimensional.


Bugs

  1. dmstat reads the null value defined for a column as an integer whether or not the image actually contains integer values.

    For images (and probably for tables, as well), dmstat reads the null value defined for a column as an integer whether or not the image actually contains integer values. So as dmstat calculates its output, null=0 behaves exactly like null=0.9 and null=1.1 behaves like null=1.0.

    This means that if there are pixels inside of the region whose values actually are 0.0, they are added up with the null pixels outside of the region, in the case that if null=0.0 or null=0.9; similarly for null=1.0. This inflates the null count returned by dmstat.

    Workaround:

    Using null=NaN should give good results. Technically, NaN is the "only" value that should be used for floating point images (or columns). Using any other null value with a floating point image is advised against since that value might already be represented in the image.

  2. TNULL values of 0 don't work. [New](07 Mar 2008)

    dmstat assumes that TNULL != 0 means that there is a NULL value; 0 means there is no TNULL. This breaks when the actual TNULL value is 0.

Hardcopy (PDF): A4 | Letter
Last modified: 7 March 2008


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.