Fits users need tools
This document is the Table of Contents for Funtools.
Funtools, is a \*(L"minimal buy\-in\*(R" \s-1FITS\s0 library and utility package developed at the the High Energy Astrophysics Division of \s-1SAO\s0. The Funtools library provides simplified access to a wide array of file types: standard astronomical \s-1FITS\s0 images and binary tables, raw arrays and binary event lists, and even tables of \s-1ASCII\s0 column data. A sophisticated region filtering library (compatible with ds9) filters images and tables using boolean operations between geometric shapes, support world coordinates, etc. Funtools also supports advanced capabilities such as optimized data searching using index files.
The main goal of the Funtools project has been to develop a minimal buy-in \s-1FITS\s0 library for researchers who are occasional (but serious) coders. In this case, \*(L"minimal buy\-in\*(R" means \*(L"easy to learn, easy to use, and easy to re-learn next month\*(R". We have tried to achieve this goal by emphasizing two essential capabilities. The first is the ability to develop \s-1FITS\s0 programs without knowing much about \s-1FITS\s0, i.e., without having to deal with the arcane rules for generating a properly formatted \s-1FITS\s0 file. The second is to support the use of already-familiar C/Unix facilities, especially C structs and Unix stdio. Taken together, these two capabilities should allow researchers to leverage their existing programming expertise while minimizing the need to learn new and complex coding rules.
Choose from the following topics:
Funtools User Programs
funcalc: Funtools calculator (for binary tables) [funcalc\|(1)]
funcen: find centroid (for binary tables) [funcen\|(1)]
funcnts: count photons in specified regions [funcnts\|(1)]
funcone: cone search on \s-1RA\s0, Dec columns [funcone\|(1)]
fundisp: display data in a Funtools data file [fundisp\|(1)]
funhead: display a header in a Funtools file [funhead\|(1)]
funhist: create a 1D histogram of a column [funhist\|(1)]
funimage: create a \s-1FITS\s0 image from a Funtools data file [funimage\|(1)]
funindex: create an index on a column in a binary table [funindex\|(1)]
funjoin: join two or more \s-1FITS\s0 binary tables on specified columns [funjoin\|(1)]
funmerge: merge one or more Funtools table files [funmerge\|(1)]
funsky: convert between image and sky coordinates, using \s-1WCS\s0 info from a \s-1FITS\s0 header [funsky\|(1)]
funtable: copy selected rows from a Funtools file to a \s-1FITS\s0 binary table [funtable\|(1)]
funtbl: extract a table from Funtools \s-1ASCII\s0 output [funtbl\|(1)]
funtools and ds9 image display [funds9(7)]
Funtools Programming
Funtools Programming Summary [funlib\|(3)]
Funtools Programming Tutorial [funlib\|(3)]
A Short Digression on Subroutine Order [funlib\|(3)]
Compiling and Linking [funlib\|(3)]
The Funtools Reference Handle [funlib\|(3)]
The Funtools Programming Reference Manual
FunOpen: open a Funtools file [funopen\|(3)]
FunImageGet: retrieve image data [funimageget\|(3)]
FunImagePut: output image data [funimageput\|(3)]
FunImageRowGet: retrieve image data by row [funimagerowget\|(3)]
FunImageRowPut: output image data by row [funimagerowput\|(3)]
FunTableRowGet: retrieve rows from a table [funtablerowget\|(3)]
FunTableRowPut: output rows to a table [funtablerowput\|(3)]
FunColumnSelect: select columns in a table for access [funcolumnselect\|(3)]
FunColumnActivate: activate columns in a table for read/write [funcolumnactivate\|(3)]
FunColumnLookup: lookup info about the columns in a table [funcolumnlookup\|(3)]
FunInfoGet: get info about an image or table [funinfoget\|(3)]
FunInfoPut: put info about an image or table [funinfoput\|(3)]
FunParamGet: get header param [funparamget\|(3)]
FunParamPut: put header param [funparamput\|(3)]
FunFlush: flush I/O in a Funtools file [funflush\|(3)]
FunClose: close a Funtools file [funclose\|(3)]
Funtools Programming Examples [funlib\|(3)]
evmerge: merge new columns with existing columns
evcols: add column and rows to binary tables
imblank: blank out image values below a threshold
Funtools Data Files [funfiles(7)]
Supported Data Formats
\s-1FITS\s0 File and Extensions
Non-FITS Raw Event Files
Non-FITS Array Files
Column-based Text (\s-1ASCII\s0) Files
Database Views of Tables
Image Sections and Blocking
Binning \s-1FITS\s0 Binary Tables and Non-FITS Event Files
Disk Files and Other Supported File Types
Funtools Data Filtering
Table Filtering [funfilters(7)]
Fast Table Filtering using Indexes [funidx(7)]
Spatial Region Filtering [funregions(7)]
Region Geometry [reggeometry(7)]
Region Algebra [regalgebra(7)]
Region Coordinates [regcoords(7)]
Region Boundaries [regbounds(7)]
Differences Between Funtools and \s-1IRAF\s0 Regions [regdiff(7)]
Combining Table and Region Filters [funcombine(7)]
Miscellaneous
Funtools Environment Variables [funenv(7)]
Funtools ChangeLog