27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.2 About this Manual 2<br />

manipulated the data through the references. For files with Write access the library is<br />

designed to keep the FITS object on disk in sync with the memory copy. The additional<br />

memory copy increases the resources required by a calling program in return for some<br />

flexibility in accessing the data.<br />

1.2 About this Manual<br />

This document lays out the specification for the <strong>CCfits</strong> library.<br />

The next sections document the installation procedure and the demonstration program<br />

cookbook which gives examples of usage with comments.<br />

Following sections give a list of what is implemented in <strong>CCfits</strong> compared to the cfitsio<br />

library. For background information and as an example there is a section describing<br />

how <strong>CCfits</strong> is to be used in XSPEC, for which it was originally designed, which may<br />

serve to give the reader some insight into the design decisions made.<br />

1.3 Release Notes for Version 2.4 Dec 2011<br />

Fixes:<br />

• Compressed images may now be written with BITPIX=32. This fix was made by<br />

internally storing the image array as int types rather than longs (see backwards<br />

compatibility issues).<br />

• For variable-width columns, the write functions now allow all of the same type<br />

conversions as had been working with fixed-width columns.<br />

• The null-value versions of the primary and extension image write functions are<br />

now working.<br />

• The basic FITS constructor can now handle files containing multiple extensions<br />

which have the same name AND version number. (Note that this is still not a<br />

recommended file structure.)<br />

• BinTable’s addColumn function now automatically first makes itself the current<br />

extension so that the user doesn’t have to call ExtHDU::makeThisCurrent().<br />

• Bug fix to Table’s deleteRows function. This error had been preventing the output<br />

stream operator from working on vector columns after rows had been deleted.<br />

Backwards Compatibility Issue:<br />

• For images of BITPIX=32, <strong>CCfits</strong> now stores the values in a valarray of ints<br />

rather than longs. This affects the public interface in one place: the return type<br />

of the ImageExt::image() function.<br />

Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!