Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > ecbd8c5b7568e331fe6ea5b9a07a78a0 > files > 192

CCfits-docs-2.2-2.fc13.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CCfits: CCfits Documentation</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li class="current"><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>CCfits Documentation</h1><h3 align="center">2.2 </h3><center>CCfits-2.2 requires <a href="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html">cfitsio</a> version 3.08 or later</center>  
<b><a href="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/index.html">Return To CCfits Home Page</a></b><br><br>
<h2><a class="anchor" id="intro">
Introduction</a></h2>
<p>CCfits is an object oriented interface to the cfitsio library. cfitsio is a widely used library for manipulating FITS (Flexible Image Transport System) formatted files. This following documentation assumes prior knowledge of the FITS format and some knowledge of the use of the cfitsio library, which is in wide use, well developed, and available on many platforms.</p>
 
  
  For information about FITS and cfitsio, refer to:
  
  <UL>
  <LI><A HREF="http://fits.gsfc.nasa.gov">
  Details about the FITS format and the current standard</A>

  <LI>Home page for the
       <A HREF="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html">
	cfitsio library</A>
  </UL>
  <p>The CCfits library provides an interface that allows the user to manipulate FITS format data through the high-level building blocks of FITS files and Header-Data Units (HDUs). The implementation is designed to hide the details of performing FITS I/O from the user, who will write calls that manipulate FITS objects by passing filenames and lists of strings that represent HDUs, keywords, image data and data columns. Unlike cfitsio, which typically requires several calls to access data <em>(e.g. open file, move to correct header, determine column containing table data, read data)</em> CCfits is designed to make reading data atomic. For example, it exploits internally existing optimization techniques for FITS I/O, choosing the optimal reading strategy as available [see the cfitsio manual, Chapter 13] when data are read on initialization. Data written by CCfits will also be compliant with the FITS standard by specification of class constructors representing FITS dataset elements.</p>
<p>CCfits necessarily works in a fundamentally different way than cfitsio. The general pattern of usage for CCfits is: create a FITS object, which either opens a disk file or creates a new disk file, create references to existing or new HDU objects within it, and manipulated the data through the references. For files with Write access the library is designed to keep the FITS object on disk in sync with the memory copy. The additional memory copy increases the resources required by a calling program in return for some flexibility in accessing the data.</p>
<h2><a class="anchor" id="about">
About this Manual</a></h2>
<p>This document lays out the specification for the CCfits library.</p>
 
   The hyperlinks below document the installation procedure, and the demonstration program
   <i>cookbook</i> which gives 
   examples of usage with comments.
   
<UL>
  <LI><a href="./installation.html">Installing the Package</a> 
   
  <LI><a href="./cookbook.html">Getting Started</a>
  
  <LI><a href="./missing.html">What's Present, What's Missing, and Calling CFITSIO</a>
  
  <LI><a href="./implementation.html">Implementation Notes</a>
    
</UL>
   <h2><a class="anchor" id="rel">
Release Notes For Version 2.2 Sep 2009</a></h2>
<p>Enhancements to CCfits:</p>
<ul>
<li>Added an auto-generated pkg-config file to the stand-alone distribution.</li>
<li>Added an option for case-insensitive searching in the ExtHDU and Table Column get-by-name functions.</li>
<li>The public functions column() and numCols() have been added to the ExtHDU interface. They were previously available only in the derived Table class.</li>
<li>New resetRead and getNullValue functions for Column class.</li>
<li>Improved the documentation for the nullValue versions of the Column read/write member functions.</li>
</ul>
<p>Bug Fixes:</p>
<ul>
<li>Converted non-standard calls to vector and valarray end iterators. These were causing runtime exceptions when built with Microsoft Visual C++ v9.0.</li>
<li>The Column addNullValue function now works for cases where the null value argument is of a type that requires casting to match the type of data stored in the Column.</li>
<li>Fix to the Column writeArrays function for the case where valarrays of varying length were sent to fixed-width columns. It was previously sending along a default null value even when the user did not request one.</li>
<li>Fix for reading and writing complex data types to scalar columns. The first "firstRow" complex values were not being written or read.</li>
<li>Renamed private FITS::extension() function to extensionMap(). This is to prevent user from having to explicitly declare a const FITS pointer in order to use the public const FITS::extension*() function.</li>
</ul>
<p>Backwards Compatibility Issue:</p>
<ul>
<li>To prevent overloading ambiguity resulting from the new flag added to ExtHDU/Table get-by-name Column functions for case-insensitive searches, the protected column(string,Column*) function has been renamed to setColumn. As this is a protected function, the change should not affect standard usage of CCfits.</li>
</ul>
<h2><a class="anchor" id="rel2">
Release Notes For Version 2.1 Nov 2008</a></h2>
<ul>
<li>Modified several FITS constructors and FITS::open function to allow proper handling of CFITSIO <b>extended filename syntax</b>.</li>
<li>Extended filename syntax example added to cookbook.</li>
<li>Fix made to FITS::read function for case of missing EXTVER keyword when searching for HDU with extver &gt; 1.</li>
<li>Removed inclusion of the internal-only CFITSIO fitsio2.h file from Column.cxx. LONGLONG limits definitions are now found in fitsio.h.</li>
</ul>
<p>For a more complete listing, see the CHANGES file distributed with the software. For earlier versions, see <a class="el" href="releases.html">Previous Release Notes</a>.</p>
<h2><a class="anchor" id="ack">
Authors and Acknowledgements</a></h2>
<p>CCfits was written as part of a re-engineering effort for the X-Ray data analysis program, XSPEC. It was designed using Rational Rose and originally implemented on a Solaris platform by Ben Dorman to whom blame should be attached. Sandhia Bansal worked on part of the implementation and, and Paul Kunz (<a href="mailto:&#112;&#102;&#107;&#101;&#098;&#064;&#115;&#108;&#097;&#099;&#046;&#115;&#116;&#097;&#110;&#102;&#111;&#114;&#100;&#046;&#101;&#100;&#117;">&#112;&#102;&#107;&#101;&#098;&#064;&#115;&#108;&#097;&#099;&#046;&#115;&#116;&#097;&#110;&#102;&#111;&#114;&#100;&#046;&#101;&#100;&#117;</a>) wrote the configuration scheme and dispensed helpful advice: both are also thanked profusely for the port to Windows2000/VC++.net. Thanks to R. Mathar (MPIA) and Patrik Jonsson (Lick Obs.) for contributing many helpful suggestions and bug reports, and ports to HP-UX and AIX respectively.</p>
<p>CCfits is currently maintained by Craig Gordon and Bryan Irby (<a href="mailto:&#099;&#099;&#102;&#105;&#116;&#115;&#064;&#104;&#101;&#097;&#115;&#097;&#114;&#099;&#046;&#103;&#115;&#102;&#099;&#046;&#110;&#097;&#115;&#097;&#046;&#103;&#111;&#118;">&#099;&#099;&#102;&#105;&#116;&#115;&#064;&#104;&#101;&#097;&#115;&#097;&#114;&#099;&#046;&#103;&#115;&#102;&#099;&#046;&#110;&#097;&#115;&#097;&#046;&#103;&#111;&#118;</a>). Suggestions and bug reports are welcome, as are offers to fill out parts of the implementation that are missing. We are also interested in knowing which parts of cfitsio that are not currently supported should be the highest priority for future extensions. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 9 11:59:40 2009 for CCfits by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>