27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Contents<br />

1 <strong>CCfits</strong> Documentation 1<br />

1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1<br />

1.2 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . 2<br />

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

1.4 Release Notes For Version 2.3 Nov 2010 . . . . . . . . . . . . . . . . 3<br />

1.5 Release Notes For Version 2.2 Sep 2009 . . . . . . . . . . . . . . . . 4<br />

1.6 Authors and Acknowledgements . . . . . . . . . . . . . . . . . . . . 5<br />

2 Installing the Package 5<br />

2.1 Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5<br />

2.2 Building . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5<br />

2.2.1 Instructions for Building <strong>CCfits</strong> on UNIX-like platforms: . . . 6<br />

2.2.2 Instructions for Microsft Windows build: . . . . . . . . . . . 7<br />

3 Implementation Notes 8<br />

4 Xspec and <strong>CCfits</strong> 9<br />

4.1 About XSPEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9<br />

4.2 New Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . 9<br />

4.3 Modularity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10<br />

5 Getting Started 10<br />

5.1 Driver Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10<br />

6 Writing Primary Images and Image Extensions 12<br />

7 Creating and Writing to an Ascii Table Extension 15<br />

8 Creating and Writing to a Binary Table Extension 18<br />

9 Copying an Extension between Files 23<br />

10 Selecting Table Data 24<br />

11 Reading Header information from a HDU 25<br />

12 Reading an Image 26<br />

13 Reading a Table Extension 27<br />

14 Reading with Extended File Name Syntax 28<br />

15 What’s Present, What’s Missing, and Calling CFITSIO 29<br />

15.1 What’s Not Present . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />

15.2 Calling CFITSIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

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

Saved successfully!

Ooh no, something went wrong!