funindex(1)
π funindex β the manual, but make it cute β¨
okay so bestie, you're holding the man page for funindex, part of the SAORD Documentation fam, and honestly? it's giving "tiny script, big main character energy" π she creates an index for a column of a FITS binary table. that's it. that's the job. periodt π
π¦ NAME π¦
funindex β create an index for a column of a FITS binary table
πΈ SYNOPSIS πΈ
funindex <switches> <iname> <key> [oname]
β¨ OPTIONS β¨
π¨ NB: these options are not compatible with Funtools processing. Please use the defaults instead. (yes, for real. the defaults are the vibe. don't fight it π)
-cβ compress output usinggzip-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 π
okay so here's the tea β the funindex script creates an index for the specified column (the key) by running funtable -s (sort) and then saving the column value and the record number for each sorted row. and then β and this is the iconic part β that index gets used automatically by funtools filtering of that column, provided the index file's modification date is later than that of the data file. slay π₯
the first required argument is the name of the FITS binary table to index. heads up though: text files cannot be indexed at this time π that's just the rules bestie.
the second required argument is the column (key) name to index. now, while multiple keys can be specified in principle, the funtools index processing assumes a single key and will not recognize files containing multiple keys. so... one key. that's the whole assignment π
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. like, you can, but why would you do that to yourself π
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. chef's kiss πβ¨
π SEE ALSO π
See funtools(7) for a list of Funtools help pages π«Ά
and that's the whole page, bestie β you ate that π this was version 1.4.5, dated April 14, 2011, so like... vintage queen behavior fr fr π go index something. mwah π
π¦ where this page comes from
- debian bookworm: funtools 1.4.8-1 Β· GPL
- debian trixie: funtools 1.4.8-1.1+b2 Β· GPL
- ubuntu jammy: funtools 1.4.8-1 Β· GPL
- ubuntu noble: funtools 1.4.8-1.1build2 Β· GPL
- ubuntu questing: funtools 1.4.8-2
- ubuntu resolute: funtools 1.4.8-2build1 Β· GPL
- ubuntu stonking: funtools 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