\contentsline {section}{\numberline {1}Introduction}{2}
\contentsline {section}{\numberline {2}Installing and Using CFITSIO}{3}
\contentsline {section}{\numberline {3}Example Programs}{4}
\contentsline {section}{\numberline {4}CFITSIO Routines}{6}
\contentsline {subsection}{\numberline {4.1}Error Reporting}{6}
\contentsline {subsection}{\numberline {4.2}File Open/Close Routines}{6}
\contentsline {subsection}{\numberline {4.3}HDU-level Routines}{7}
\contentsline {subsection}{\numberline {4.4}Image I/O Routines}{9}
\contentsline {subsection}{\numberline {4.5}Table I/O Routines}{12}
\contentsline {subsection}{\numberline {4.6}Header Keyword I/O Routines}{19}
\contentsline {subsection}{\numberline {4.7}Utility Routines}{22}
\contentsline {section}{\numberline {5}CFITSIO File Names and Filters}{23}
\contentsline {subsection}{\numberline {5.1}Creating New Files}{23}
\contentsline {subsection}{\numberline {5.2}Opening Existing Files}{24}
\contentsline {subsection}{\numberline {5.3}Image Filtering}{26}
\contentsline {subsubsection}{\numberline {5.3.1}Extracting a subsection of an image}{26}
\contentsline {subsubsection}{\numberline {5.3.2}Create an Image by Binning Table Columns}{26}
\contentsline {subsection}{\numberline {5.4}Table Filtering}{28}
\contentsline {subsubsection}{\numberline {5.4.1}Column and Keyword Filtering}{28}
\contentsline {subsubsection}{\numberline {5.4.2}Row Filtering}{29}
\contentsline {subsubsection}{\numberline {5.4.3}Good Time Interval Filtering}{32}
\contentsline {subsubsection}{\numberline {5.4.4}Spatial Region Filtering}{32}
\contentsline {subsubsection}{\numberline {5.4.5}Example Row Filters}{34}
\contentsline {subsection}{\numberline {5.5}Combined Filtering Examples}{36}
\contentsline {section}{\numberline {6}CFITSIO Error Status Codes}{38}
