Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

funindex(1) [suse man page]

funindex(1)							SAORD Documentation						       funindex(1)

NAME
funindex - create an index for a column of a FITS binary table SYNOPSIS
funindex <switches> <iname> [oname] OPTIONS
NB: these options are not compatible with Funtools processing. Please use the defaults instead. -c # compress output using gzip" -a # ASCII output, ignore -c (default: FITS table)" -f # FITS table output (default: FITS table)" -l # long output, i.e. with key value(s) (default: long)" -s # short output, i.e. no key value(s) (default: long)" DESCRIPTION
The funindex script creates an index for the specified column (key) by running funtable -s (sort) and then saving the column value and the record number for each sorted row. This index will be used automatically by funtools filtering of that column, provided the index file's modification date is later than that of the data file. The first required argument is the name of the FITS binary table to index. Please note that text files cannot be indexed at this time. The second required argument is the column (key) name to index. While multiple keys can be specified in principle, the funtools index process- ing assume a single key and will not recognize files containing multiple keys. By default, the output index file name is [root]_[key].idx, where [root] is the root of the input file. Funtools looks for this specific file name when deciding whether to use an index for faster filtering. Therefore, the optional third argument (output file name) should not be used for funtools processing. For example, to create an index on column Y for a given FITS file, use: funindex foo.fits Y This will generate an index named foo_y.idx, which will be used by funtools for filters involving the Y column. SEE ALSO
See funtools(7) for a list of Funtools help pages version 1.4.2 January 2, 2008 funindex(1)

Check Out this Related Man Page

funtools(7)							SAORD Documentation						       funtools(7)

NAME
Funtools - FITS Users Need Tools SYNOPSIS
This document is the Table of Contents for Funtools. DESCRIPTION
Funtools, is a "minimal buy-in" FITS library and utility package developed at the the High Energy Astrophysics Division of SAO. The Fun- tools 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 lever- age their existing programming expertise while minimizing the need to learn new and complex coding rules. Choose from the following topics: o Funtools User Programs o funcalc: Funtools calculator (for binary tables) [funcalc(1)] o funcen: find centroid (for binary tables) [funcen(1)] o funcnts: count photons in specified regions [funcnts(1)] o funcone: cone search on RA, Dec columns [funcone(1)] o fundisp: display data in a Funtools data file [fundisp(1)] o funhead: display a header in a Funtools file [funhead(1)] o funhist: create a 1D histogram of a column [funhist(1)] o funimage: create a FITS image from a Funtools data file [funimage(1)] o funindex: create an index on a column in a binary table [funindex(1)] o funjoin: join two or more FITS binary tables on specified columns [funjoin(1)] o funmerge: merge one or more Funtools table files [funmerge(1)] o funsky: convert between image and sky coordinates, using WCS info from a FITS header [funsky(1)] o funtable: copy selected rows from a Funtools file to a FITS binary table [funtable(1)] o funtbl: extract a table from Funtools ASCII output [funtbl(1)] o funtools and ds9 image display [funds9(7)] o Funtools Programming o Funtools Programming Summary [funlib(3)] o Funtools Programming Tutorial [funlib(3)] o A Short Digression on Subroutine Order [funlib(3)] o Compiling and Linking [funlib(3)] o The Funtools Reference Handle [funlib(3)] o The Funtools Programming Reference Manual o FunOpen: open a Funtools file [funopen(3)] o FunImageGet: retrieve image data [funimageget(3)] o FunImagePut: output image data [funimageput(3)] o FunImageRowGet: retrieve image data by row [funimagerowget(3)] o FunImageRowPut: output image data by row [funimagerowput(3)] o FunTableRowGet: retrieve rows from a table [funtablerowget(3)] o FunTableRowPut: output rows to a table [funtablerowput(3)] o FunColumnSelect: select columns in a table for access [funcolumnselect(3)] o FunColumnActivate: activate columns in a table for read/write [funcolumnactivate(3)] o FunColumnLookup: lookup info about the columns in a table [funcolumnlookup(3)] o FunInfoGet: get info about an image or table [funinfoget(3)] o FunInfoPut: put info about an image or table [funinfoput(3)] o FunParamGet: get header param [funparamget(3)] o FunParamPut: put header param [funparamput(3)] o FunFlush: flush I/O in a Funtools file [funflush(3)] o FunClose: close a Funtools file [funclose(3)] o Funtools Programming Examples [funlib(3)] o evmerge: merge new columns with existing columns o evcols: add column and rows to binary tables o imblank: blank out image values below a threshold o Funtools Data Files [funfiles(7)] o Supported Data Formats o FITS File and Extensions o Non-FITS Raw Event Files o Non-FITS Array Files o Column-based Text (ASCII) Files o Database Views of Tables o Image Sections and Blocking o Binning FITS Binary Tables and Non-FITS Event Files o Disk Files and Other Supported File Types o Funtools Data Filtering o Table Filtering [funfilters(7)] o Fast Table Filtering using Indexes [funidx(7)] o Spatial Region Filtering [funregions(7)] o Region Geometry [reggeometry(7)] o Region Algebra [regalgebra(7)] o Region Coordinates [regcoords(7)] o Region Boundaries [regbounds(7)] o Differences Between Funtools and IRAF Regions [regdiff(7)] o Combining Table and Region Filters [funcombine(7)] o Miscellaneous o Funtools Environment Variables [funenv(7)] o Funtools ChangeLog version 1.4.2 January 2, 2008 funtools(7)
Man Page