NASA Logo - Goddard Space Flight CenterNASA Logo - Goddard Space Flight Center

International X-ray Observatory

Constellation-X Simulator, simx
Downloading and Installing simx

Downloading simx

Click to download the tarball for simx. The current version is 0.2. The model psf is based on the simulated performance on-axis at 6.0 keV; no variation with energy or off-axis position is included. Energy resolution is based on the current response matrix. Simx is not particularly fast; we are working

Installing simx

simx is distributed as source code, and requires C compiler to install. It has been tested on both linux and OS X 10.3 and 10.4. After downloading the simx tarball, execute the following commands to compile and install the code:

unix% tar zxf simx-0.2.tar.gz
unix% cd simx
unix% ./configure
unix% make
unix% make install

If the code compiled correctly, you should now have a bin/ directory with a copy of simx. We have tested this on Macs running 10.3 and 10.4 and a linux machine running Scientific Linux 4, kernel 2.6.9-67.0.1.

If you wish to test your installation, you need to have FTOOLS installed. If you type fdiff and are prompted for a FITS file, then all is well. Once this is ready, type:

unix% cd test unix% make test

If the result comes back with everything having '0 differences found' then you can be reasonably sure simx is working properly. Note that the test only works on linux processors; Macintosh G4 and G5 give slightly different results, for reasons that seem to have to do with differences in how floating point issues are handled. We are working on fixes to this. If the total number of events is reasonably close (within 1%) to the number in the test file, the answer is likely correct.

WARNING: This is a BETA release; there are almost certainly bugs, possibly serious ones. Please report any odd behavior on the part of the code to:

Randall.K.Smith (at) nasa.gov

When reporting problems, please remember the 'BETA' warning. Please don't hesitate to look at the code and suggest fixes!


Web Curator: Barbara Mattson
NASA Official: Dr. Ann Hornschemeier
Last Updated: September 08, 2008