MATCH(1)
π MATCH(1) β like, the manual page, but make it make sense π
okay bestie, sit down, hydrate, because this is the manual page for Match (yes, that's the MATCH(1) situation) and we're gonna get through it together. no cap.
β¨ NAME β¨
Match β match catalogs by 1D or 2D positions π¦
πΈ SYNOPSIS πΈ
astmatch [OPTION...] ASTRdata
that's it. that's the whole vibe. one program, some options, and an input catalog. π
π DESCRIPTION π
so Match is part of GNU Astronomy Utilities 0.24 β¨ and what it does is match catalogs of objects β and by default it hands you back the re-arranged matching inputs. iconic behaviour honestly.
there's also an optional log file, and if you ask for it, it gives you the low-level tea about the match β we're talking the indexs and the distances. yes, "indexs". that's what it says. we don't fix it, we respect it. π
for more info, you can literally just run any of these commands. and heads up: the second one has a very comprehensive explanation of how Match gets invoked β the expected input(s), the output(s), and a full description of all the options. like, everything.
all options and their values:
$ astmatch -P
inputs/outputs and options:
$ info astmatch
full section in manual/book:
$ info Match
full Gnuastro manual/book:
$ info gnuastro
and if the manual just isn't answering your question (been there π), you can get direct help from experienced Gnuastro users and developers. for more info, run:
$ info help-gnuastro
Match options:
π Input: π
-h,--hdu=STR/INTβ extension name or number of the first input. π«Ά-H,--hdu2=STR/INTβ extension name or number of the second input. two inputs, two HDUs, we stay organized.-I,--ignorecaseβ ignore case when matching/searching columns. uppercase? lowercase? she doesn't care. π--searchin=STRβ pick which column(s) to search in:'name','unit','comment'.--stdintimeout=INTβ micro-seconds to wait for standard input. give stdin a little grace period. β³
π€ Output: π€
-A,--arrange=STRβ one ofinner,outer,outer-within-apertureorfull. this is the rearrangement personality you're choosing. β¨-D,--dontdeleteβ don't delete the output if it already exists. it stays. it's protected. π‘οΈ-K,--keepinputdirβ keep the input directory for the automatic output.-l,--logasoutputβ no rearranging of inputs, the output is the log file. plot twist. π--notmatchedβ output is the rows that don't match. the leftovers get their moment. π--outcols=STRβ output columns, in CSV.'a'means the 1st input,'b'means the 2nd input.--outfitsnocommitβ no Git commit in the 0-th HDU of the output FITS.--outfitsnoconfigβ no metadata in the 0-th HDU of the output FITS.--outfitsnodateβ no'DATE'in the 0-th HDU of the output FITS.--outfitsnoversionsβ no versions in the 0-th HDU of the output FITS.-o,--output=STRβ output file name. name your baby. π--tableformat=STRβ table format:'fits-ascii','fits-binary','txt'.--wcslinearmatrix=STRβ the WCS linear matrix of the output, either'pc'or'cd'.
π« Catalog matching π«
-a,--aperture=FLT[,...]β acceptable aperture for matching. how close counts as "close enough". πΈ-c,--ccol1=STR[,STR]β column name/number of the first catalog.-C,--ccol2=STR[,STR]β column name/number of the second catalog.-d,--coord=FLT[,FLT]β manually input coordiantes. (spelling exactly as it ships, bestie β we don't touch it π«Ά)--kdtreehdu=STRβ HDU of the k-d tree when--kdtree=FILE.fits.-k,--kdtree=STRβbuild,internal,disable, or aCUSTOM-FITS-FILE.
βοΈ Operating modes: βοΈ
-?,--helpβ give this help list. π--checkconfigβ list all config files and variables that get read.--citeβ BibTeX citation for this program. cite your sources, queen. π--config=STRβ read configuration fileSTRimmediately.--config-prefix=STRβ custom prefix of option names in config files.--lastconfigβ do not parse any more configuration files. that's a wrap. π--logβ information about output(s) in a log file.--minmapsize=INTβ minimum bytes to avoid RAM automatically.-N,--numthreads=INTβ number of CPU threads to use. go fast. π₯--onlyversion=STRβ only run if the program version isSTR.-P,--printparamsβ print parameter values to be used and abort.--quietmmapβ don't print the mmap'd file's name and size.-q,--quietβ only report errors, stay quiet about the steps. no commentary, just results. π€«-S,--setdirconfβ set default values for this directory and abort.--usageβ give a short usage message.-U,--setusrconfβ set default values for this user and abort.-V,--versionβ print program version.
mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. (say it with me: long option rules apply to the short option too. periodt. π )
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
π REPORTING BUGS π
found a bug? report it to bug-gnuastro@gnu.org. they wanna know, fr fr. π«Ά
Β©οΈ COPYRIGHT Β©οΈ
Copyright Β© 2015-2025 Free Software Foundation, Inc. License GPLv3+: GNU General public license version 3 or later.
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (like, none. zero. don't come for them if it goes sideways. π)
written/developed by Mohammad Akhlaghi π
π SEE ALSO π
the full documentation for Match is maintained as a Texinfo manual. if the info and Match programs are properly installed at your site, the command
info Match
should give you access to the complete manual. go read it, bestie, it's giving comprehensive. π
and that's the whole page!! GNU Astronomy Utilities 0.24, dated November 2025 β mwah, slay, you're officially a Match understander now. go match some catalogs. π¦β¨π
π¦ where this page comes from
- epel 10: gnuastro 0.24-1.el10_3 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- epel 9: gnuastro 0.24-1.el9 Β· GPL-3.0-or-later AND FSFAP AND GFDL-1.3-or-later
- nixos 26.05: gnuastro 0.24
- nixpkgs unstable: gnuastro 0.24
- ubuntu resolute: gnuastro 0.24-1 Β· GPL-3.0-or-later
- ubuntu stonking: gnuastro 0.24-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms