DESCRIPTION
Funtools, is a ``minimal buy-in'' FITS library and utility package developed at the the High Energy Astrophysics Division of SAO. The Funtools library provides simplified access to a wide array of file types: standard astronomical FITS images and binary tables, raw arrays and binary event lists, and even tables of ASCII 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 FITS library for researchers who are occasional (but serious) coders. In this case, ``minimal buy-in'' means ``easy to learn, easy to use, and easy to re-learn next month''. We have tried to achieve this goal by emphasizing two essential capabilities. The first is the ability to develop FITS programs without knowing much about FITS, i.e., without having to deal with the arcane rules for generating a properly formatted FITS 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 RA, 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 FITS 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 FITS 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 WCS info from a FITS header [funsky(1)]
- funtable: copy selected rows from a Funtools file to a FITS binary table [funtable(1)]
- funtbl: extract a table from Funtools ASCII 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
-
- FITS File and Extensions
- Non-FITS Raw Event Files
- Non-FITS Array Files
- Column-based Text (ASCII) Files
- Database Views of Tables
-
Supported Data Formats
-
-
- 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 IRAF Regions [regdiff(7)]
-
- Funtools Environment Variables [funenv(7)]
- Funtools ChangeLog