funtools(7)
funtools(7) π¦
okay bestie, this is thefuntools(7)page fromSAORD Documentation. It's the Table of Contents for Funtools, and we're gonna make it slay while keeping every fact, no cap. π
β¨ NAME β¨
Funtools β FITS Users Need Tools. That's the name, that's the vibe. π
π¦ SYNOPSIS π¦
This document is the Table of Contents for Funtools. Literally just the TOC. Periodt. β¨
π DESCRIPTION π
okay so Funtools is a "minimal buy-in" FITS library and utility package developed at the High Energy Astrophysics Division of SAO. The Funtools library gives you simplified access to a whole array of file types: standard astronomical FITS images and binary tables, raw arrays and binary event lists, and even tables of ASCII column data. There's also a sophisticated region filtering library (compatible with ds9) that filters images and tables using boolean operations between geometric shapes, supports world coordinates, etc. And Funtools supports advanced capabilities like 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". They tried to achieve this goal by emphasizing two essential capabilities. First: 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. Second: support for using 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 β the command-line besties you run to do stuff.
funcalcβ the Funtools calculator, but specifically for binary tables.[funcalc(1)]funcenβ finds the centroid, for binary tables.[funcen(1)]funcntsβ counts photons in the regions you specify.[funcnts(1)]funconeβ does a cone search on RA, Dec columns.[funcone(1)]fundispβ displays data in a Funtools data file.[fundisp(1)]funheadβ displays a header in a Funtools file.[funhead(1)]funhistβ creates a 1D histogram of a column.[funhist(1)]funimageβ creates a FITS image from a Funtools data file.[funimage(1)]funindexβ creates an index on a column in a binary table.[funindex(1)]funjoinβ joins two or more FITS binary tables on specified columns.[funjoin(1)]funmergeβ merges one or more Funtools table files.[funmerge(1)]funskyβ converts between image and sky coordinates, using WCS info from a FITS header.[funsky(1)]funtableβ copies selected rows from a Funtools file to a FITS binary table.[funtable(1)]funtblβ extracts a table from Funtools ASCII output.[funtbl(1)]- funtools and ds9 image display
[funds9(7)]
- Funtools Programming β the dev side, where you write code and feel like a main character.
- 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β opens a Funtools file.[funopen(3)]FunImageGetβ retrieves image data.[funimageget(3)]FunImagePutβ outputs image data.[funimageput(3)]FunImageRowGetβ retrieves image data by row.[funimagerowget(3)]FunImageRowPutβ outputs image data by row.[funimagerowput(3)]FunTableRowGetβ retrieves rows from a table.[funtablerowget(3)]FunTableRowPutβ outputs rows to a table.[funtablerowput(3)]FunColumnSelectβ selects columns in a table for access.[funcolumnselect(3)]FunColumnActivateβ activates columns in a table for read/write.[funcolumnactivate(3)]FunColumnLookupβ looks up info about the columns in a table.[funcolumnlookup(3)]FunInfoGetβ gets info about an image or table.[funinfoget(3)]FunInfoPutβ puts info about an image or table.[funinfoput(3)]FunParamGetβ gets a header param.[funparamget(3)]FunParamPutβ puts a header param.[funparamput(3)]FunFlushβ flushes I/O in a Funtools file.[funflush(3)]FunCloseβ closes a Funtools file.[funclose(3)]
- Funtools Programming Examples
[funlib(3)]evmergeβ merges new columns with existing columns.evcolsβ adds column and rows to binary tables.imblankβ blanks out image values below a threshold.
- Funtools Programming Summary
- 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
- Image Sections and Blocking
- Binning FITS Binary Tables and Non-FITS Event Files
- Disk Files and Other Supported File Types
- Supported Data Formats
- 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 IRAF Regions
[regdiff(7)]
- Region Geometry
- Combining Table and Region Filters
[funcombine(7)]
- Table Filtering
- Miscellaneous
- Funtools Environment Variables
[funenv(7)] - Funtools ChangeLog
- Funtools Environment Variables
okay bestie, that's the whole funtools(7) page! It came from SAORD Documentation, version 1.4.5, dated April 14, 2011. Stay slay, keep coding, and remember: FITS Users Need Tools. πβ¨π¦
π¦ where this page comes from
- debian bookworm: libfuntools-dev 1.4.8-1 Β· GPL
- debian trixie: libfuntools-dev 1.4.8-1.1+b2 Β· GPL
- ubuntu jammy: libfuntools-dev 1.4.8-1 Β· GPL
- ubuntu noble: libfuntools-dev 1.4.8-1.1build2 Β· GPL
- ubuntu questing: libfuntools-dev 1.4.8-2
- ubuntu resolute: libfuntools-dev 1.4.8-2build1 Β· GPL
- ubuntu stonking: libfuntools-dev 1.4.8-2build1 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms