MAKECATALOG(1)

๐Ÿ“ฆ
version 0.24 ยท 5 versions
, in epel 10, epel 9, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

๐Ÿ’– MAKECATALOG ๐Ÿ’–

okay so bestie, this is the manual page for MakeCatalog (you'll also hear it called astmkcatalog), and it lives in User Commands โ€” section 1 of the manual, iykyk. It ships with GNU Astronomy Utilities 0.24 and it is literally the glow-up step where your pixels become a whole catalog. Let's get into it. ๐Ÿฆ‹


โœจ NAME โœจ

MakeCatalog โ€” Make a catalog from labeled input images


๐ŸŒธ SYNOPSIS ๐ŸŒธ

astmkcatalog [OPTION...] ASTRdata

๐Ÿ’… DESCRIPTION ๐Ÿ’…

MakeCatalog is part of GNU Astronomy Utilities 0.24. What it does, bestie, is create a catalog from an input image, a labeled image, and a noise image. That's the whole vibe. ๐Ÿ‘‘

For more info, you can run any of these commands. And fr fr, that second one is the main character here โ€” it has a very comprehensive explanation of how MakeCatalog gets invoked: what inputs it expects, what outputs it makes, and a full rundown of every single option.

All options and their values:

$ astmkcatalog -P

Inputs/Outputs and options:

$ info astmkcatalog

Full section in manual/book:

$ info MakeCatalog

Full Gnuastro manual/book:

$ info gnuastro

And if the manual just isn't giving what you need, you can get direct help from experienced Gnuastro users and developers. For more info, run:

$ info help-gnuastro

๐Ÿซถ MakeCatalog options ๐Ÿซถ

๐ŸŽ€ Input ๐ŸŽ€

  • --clumpshdu=STR โ€” Clump labels extension name or number.
  • -h, --hdu=STR/INT โ€” Extension name or number of input data.
  • -l, --clumpsfile=FITS โ€” Dataset containing clump labels.
  • --novalinerror โ€” Ignore pixel values when estimating errors.
  • --sigmaclip=FLT,FLT โ€” Sigma-clip column multiple and tolerance.
  • --skyhdu=STR โ€” Sky image extension name or number.
  • --stdhdu=STR โ€” Sky STD extension name or number.
  • --subtractsky โ€” Subtract the Sky dataset from the values.
  • -s, --insky=FITS/FLT โ€” Input Sky value or file.
  • -t, --instd=STR/FLT โ€” Sky standard deviation value or dataset.
  • --valueshdu=STR โ€” Name or number of extension containing values.
  • --variance โ€” STD input dataset is actually variance.
  • -v, --valuesfile=FITS โ€” Values/brightness dataset.
  • --zeropoint=FLT โ€” Zeropoint magnitude of input dataset.

๐Ÿงš Tessellation (tile grid) ๐Ÿงš

  • --checktiles โ€” Tile IDs in an image, the size of input.
  • -F, --remainderfrac=FLT โ€” Fraction of remainder to split last tile.
  • --interpmetric=STR โ€” Interpolation metric (radial, manhattan).
  • -M, --numchannels=INT[,..] โ€” No. of channels in dim.s (FITS order).
  • --oneelempertile โ€” Display 1 element/tile, not full input res.
  • -Z, --tilesize=INT[,INT] โ€” Regular tile size on dim.s (FITS order).

๐ŸŒˆ Output ๐ŸŒˆ

  • -C, --clumpscat โ€” Make a clumps catalog also.
  • -D, --dontdelete โ€” Don't delete output if it exists.
  • --inbetweenints โ€” Keep rows (integer ids) with no labels.
  • -K, --keepinputdir โ€” Keep input directory for automatic output.
  • --meta-measures โ€” Measures on/about indiv. measures (e.g., limits).
  • --noclumpsort โ€” Don't sort the clumps catalog by ID.
  • --outfitsnocommit โ€” No Git commit in 0-th HDU of output FITS.
  • --outfitsnoconfig โ€” No metadata in 0-th HDU of output FITS.
  • --outfitsnodate โ€” No 'DATE' in 0-th HDU of output FITS.
  • --outfitsnoversions โ€” No versions in 0-th HDU of output FITS.
  • -o, --output=STR โ€” Output file name.
  • --tableformat=STR โ€” Table fmt: 'fits-ascii', 'fits-binary', 'txt'.
  • --wcslinearmatrix=STR โ€” WCS linear matrix of output ('pc' or 'cd').

๐Ÿ“ Upper limit magnitude settings ๐Ÿ“

  • --checkuplim=INT[,INT] โ€” Check random distribution for one label.
  • -e, --envseed โ€” Use GSL_RNG_SEED environment variable for seed.
  • --upmaskfile=FITS โ€” Mask image file name only for upper limit.
  • --upmaskhdu=STR โ€” Mask image HDU only for upper limit.
  • --upnsigma=FLT โ€” Multiple of sigma to define upperlimit.
  • --upnum=INT โ€” Number of randomly positioned samples
  • --uprange=INT,INT โ€” Range of random positions (pix) around target.
  • --upsigmaclip=FLT,FLT โ€” Sigma multiple and, tolerance or number.

๐Ÿ’œ Settings for other columns ๐Ÿ’œ

  • --frac-max=FLT[,FLT] โ€” Fraction(s) in --frac-max* options.
  • --spatialresolution=FLT โ€” Spatial resolution (for surf. brightness err).

โญ Identifier columns โญ

  • --id-in-host-obj โ€” ID of clump in host object.
  • -i, --ids โ€” All IDs of objects and clumps.
  • -j, --host-obj-id โ€” ID of object hosting this clump.
  • --obj-id โ€” Object label/ID.

๐Ÿฆ‹ Positional (pixel/image) measurements ๐Ÿฆ‹

  • --area-max-val โ€” Number of pixels used in '--max-val-*'.
  • --area-min-val โ€” Number of pixels used in '--min-val-*'.
  • --clumps-geo-x โ€” Geometric center of all clumps in obj. (X).
  • --clumps-geo-y โ€” Geometric center of all clumps in obj. (Y).
  • --clumps-geo-z โ€” Geometric center of all clumps in obj. (Z).
  • --clumps-x โ€” Flux.wht center of all clumps in obj. (X).
  • --clumps-y โ€” Flux.wht center of all clumps in obj. (Y).
  • --clumps-z โ€” Flux.wht center of all clumps in obj. (Z).
  • --geo-x โ€” Geometric center in first FITS axis.
  • --geo-y โ€” Geometric center in second FITS axis.
  • --geo-z โ€” Geometric center in third FITS axis.
  • --max-val-x โ€” Maximum value's X axis position.
  • --max-val-y โ€” Maximum value's Y axis position.
  • --max-val-z โ€” Maximum value's Z axis position
  • --max-x โ€” Maximum X axis position.
  • --max-y โ€” Maximum Y axis position.
  • --max-z โ€” Maximum Z axis position.
  • --min-val-x โ€” Minimum value's X axis position.
  • --min-val-y โ€” Minimum value's Y axis position.
  • --min-val-z โ€” Minimum value's Z axis position.
  • --min-x โ€” Minimum X axis position.
  • --min-y โ€” Minimum Y axis position.
  • --min-z โ€” Minimum Z axis position
  • -x, --x โ€” Flux weighted center in first FITS axis.
  • -y, --y โ€” Flux weighted center in second FITS axis.
  • -z, --z โ€” Flux weighted center in third FITS axis.

๐ŸŒธ Positional (WCS) measurements ๐ŸŒธ

  • --clumps-geo-w1 โ€” Geometric center of all clumps in 1st WCS.
  • --clumps-geo-w2 โ€” Geometric center of all clumps in 2nd WCS.
  • --clumps-geo-w3 โ€” Geometric center of all clumps in 3rd WCS.
  • --clumps-w1 โ€” Flux.wht center of all clumps in 1st WCS.
  • --clumps-w2 โ€” Flux.wht center of all clumps in 2nd WCS.
  • --clumps-w3 โ€” Flux.wht center of all clumps in 3rd WCS.
  • -d, --dec โ€” Flux weighted center declination.
  • --geo-w1 โ€” Geometric center in first WCS axis.
  • --geo-w2 โ€” Geometric center in second WCS axis.
  • --geo-w3 โ€” Geometric center in third WCS axis.
  • -r, --ra โ€” Flux weighted center right ascension.
  • --w1 โ€” Flux weighted center in first WCS axis.
  • --w2 โ€” Flux weighted center in second WCS axis.
  • --w3 โ€” Flux weighted center in third WCS axis.

๐Ÿ”ฅ Brightness/magnitude (only using pixel value/error) measurements ๐Ÿ”ฅ

  • --clumps-magnitude โ€” Magnitude of all clumps in object.
  • --clumps-sum โ€” Brightness of clumps in an object.
  • --magnitude-error โ€” Magnitude error of objects or clumps.
  • --maximum โ€” Maximum value (mean of top three pixels)
  • --mean โ€” Mean of values in object/clump.
  • --mean-error โ€” Error of the mean in object/clump.
  • --median โ€” Median of values in object/clump.
  • -m, --magnitude โ€” Total magnitude of objects or clumps.
  • --river-max โ€” Maximum river value around clump.
  • --river-mean โ€” Mean river value surrounding a clump.
  • --river-min โ€” Minimum river value around clump.
  • --river-num โ€” Number of river pixels around a clump.
  • --sigclip-mean โ€” Mean after Sigma-clipping
  • --sigclip-median โ€” Median after Sigma-clipping
  • --sigclip-number โ€” Number of pixels in Sigma-clipped measurement.
  • --sigclip-std โ€” Standard deviation after Sigma-clipping
  • --sky โ€” Sky value (per pixel).
  • --sky-std โ€” Sky standard deviation (per pixel).
  • --sn โ€” Signal to noise ratio of objects or clumps.
  • --std โ€” Standard dev. of values in object/clump.
  • --sum โ€” Sum of pixel values in each label.
  • --sum-error โ€” Standard deviation (error) in measuring sum.
  • --sum-no-river โ€” Sky (not river) subtracted clump sum.
  • --upperlimit โ€” Upper-limit value, use other options to config.
  • --upperlimit-mag โ€” Upper-limit mag. use other options to config.
  • --upperlimit-onesigma โ€” Upper-limit one sigma value.
  • --upperlimit-quantile โ€” Quantile in random distribution (max 1).
  • --upperlimit-sigma โ€” Place in random distribution (sigma multiple).
  • --upperlimit-skew โ€” (Mean-Median)/STD of random distribution.

๐Ÿ’– Surface brightness measurements (all: mag/arcsec^2) ๐Ÿ’–

  • --half-max-sb โ€” Surface brightness within half the maximum.
  • --half-sum-sb โ€” Surface brightness within --halfsumarea.
  • --sb โ€” Surface brightness.
  • --sb-error โ€” Surface brightness error from STD/VAR image.
  • --sigclip-mean-sb โ€” Surface brightness of sigclip-mean (1 pix area).
  • --sigclip-mean-sb-delta โ€” sigclip-mean-sb delta from sigclip'd STD.
  • --sigclip-std-sb โ€” Surface brightness of sigclip-std (1 pix area).
  • --upperlimit-sb โ€” Upper-limit surface brightness.

๐Ÿ‘‘ Morphology/shape (non-parametric) measurements ๐Ÿ‘‘

  • --area โ€” Number of non-blank valued pixels.
  • --area-arcsec2 โ€” Area of labeled region in arcsec^2.
  • --area-xy โ€” Projected area in first two dimensions.
  • --clumps-area โ€” Non-blank area covered by clumps.
  • --frac-max1-area โ€” Area containing 1st fraction of maximum.
  • --frac-max1-radius โ€” Radius calculated from --fracmaxarea1.
  • --frac-max1-sum โ€” Sum of pixels brighter than 1st frac. of max.
  • --frac-max2-area โ€” Area containing 2nd fraction of maximum.
  • --frac-max2-radius โ€” Radius calculated from --fracmaxarea2.
  • --frac-max2-sum โ€” Sum of pixels brighter than 2nd frac. of max.
  • --fwhm โ€” Full width at half max (non-parametric).
  • --geo-area โ€” Area labled region (irrespective of value).
  • --geo-area-xy โ€” Projected geo-area in first two dimensions.
  • --half-max-area โ€” No. pixels valued above half the max.
  • --half-max-radius โ€” Radius at half the maximum (non-parametric).
  • --half-max-sum โ€” Sum of pixels above half the maximum.
  • --half-sum-area โ€” Area containing half of --brightness.
  • --half-sum-radius โ€” Radius calculated from --halfsumarea. That's it, that's the whole math bestie. ๐Ÿ’–
  • --num-clumps โ€” Number of clumps in this object. Count 'em. ๐Ÿฆ‹
  • --weight-area โ€” Area used for value weighted positions. This is the area that gets the weighted-position glow-up. โœจ

โœจ Morphology/shape (elliptical) measurements โœจ

  • --axis-ratio โ€” Flux weighted axis ratio. The shape ratio but make it flux-weighted. ๐Ÿ’…
  • --geo-axis-ratio โ€” Geometric (ignoring values, only lab) axis ratio. No value drama, just label geometry. ๐ŸŽ€
  • --geo-position-angle โ€” Geometric (ignoring values, only lab) pos. angle. Position angle, geometric style. ๐ŸŒธ
  • --geo-semi-major โ€” Geometric RMS along major axis (ignoring value). ๐ŸŒˆ
  • --geo-semi-minor โ€” Geometric RMS along minor axis (ignoring value). ๐ŸŒˆ
  • --position-angle โ€” Flux weighted position angle. Angle, but flux-weighted. โญ
  • --semi-major โ€” RMS along major axis (in pixels). ๐Ÿ“
  • --semi-minor โ€” RMS along minor axis (in pixels). ๐Ÿ“

๐ŸŒˆ Vector (multi-valued) measurements ๐ŸŒˆ

  • --area-in-slice โ€” [3D input] Number of labeled in each slice. ๐Ÿฐ
  • --area-other-in-slice โ€” [3D input] Area of other lab. in projected area. ๐Ÿซถ
  • --area-proj-in-slice โ€” [3D input] Num. voxels in --sum-proj-in-slice. ๐ŸงŠ
  • --sum-err-in-slice โ€” [3D input] Error in --sum-in-slice. ๐Ÿ˜ญ
  • --sum-in-slice โ€” [3D input] Sum of values in each slice. โž•
  • --sum-other-err-in-slice โ€” [3D input] Area in --sum-other-in-slice. ๐Ÿซ 
  • --sum-other-in-slice โ€” [3D input] Sum of other lab. in projected area. ๐Ÿซถ
  • --sum-proj-err-in-slice โ€” [3D input] Error of --sum-proj-in-slice. ๐Ÿ’€
  • --sum-proj-in-slice โ€” [3D input] Sum of projected area in each slice. ๐Ÿงฎ

๐Ÿ”ฅ Metameasurements (e.g., limits): ๐Ÿ”ฅ

  • --cnl-check โ€” Table as extra HDU in output with all matches. Extra HDU, all matches, periodt. ๐Ÿ’–
  • --cnl-with-objects โ€” Use objects for confusion limit, not clumps. Objects only, no clumps. ๐Ÿ‘‘
  • --nml-area=FLT โ€” Noise-based mag. lim area (in arcsec^2). ๐Ÿ“
  • --nml-sigma=FLT โ€” Noise-based mag. lim multip. of Sky STD. ๐ŸŒŒ
  • --sbl-area=FLT โ€” Surf. bright. limit area (in arcseconds^2). ๐Ÿ“
  • --sbl-sigma=FLT โ€” Surf. bright. limit multiple of Sky STD. ๐ŸŒŒ

๐ŸŽ›๏ธ Operating modes: ๐ŸŽ›๏ธ

  • -?, --help โ€” give this help list ๐Ÿ™‹
  • --checkconfig โ€” List all config files and variables read. ๐Ÿ”
  • --cite โ€” BibTeX citation for this program. Cite me bestie. ๐Ÿ“š
  • --config=STR โ€” Read configuration file STR immediately. ๐Ÿ—‚๏ธ
  • --config-prefix=STR โ€” Custom prefix of option names config files. โœจ
  • --lastconfig โ€” Do not parse any more configuration files. ๐Ÿ›‘
  • --minmapsize=INT โ€” Min. bytes to avoid RAM automatically. ๐Ÿ’พ
  • -N, --numthreads=INT โ€” Number of CPU threads to use. ๐Ÿงต
  • --onlyversion=STR โ€” Only run if the program version is STR. โญ
  • -P, --printparams โ€” Print parameter values to be used and abort. ๐Ÿ–จ๏ธ
  • --quietmmap โ€” Don't print mmap'd file's name and size. ๐Ÿคซ
  • -q, --quiet โ€” Only report errors, remain quiet about steps. ๐Ÿค
  • -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. iykyk ๐Ÿ’…

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/ ๐ŸŒ


๐Ÿ› REPORTING BUGS ๐Ÿ›

Report bugs to bug-gnuastro@gnu.org. ๐Ÿ’–


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.

Written/developed by Mohammad Akhlaghi


๐Ÿ”ญ SEE ALSO ๐Ÿ”ญ

The full documentation for MakeCatalog is maintained as a Texinfo manual. If the info and MakeCatalog programs are properly installed at your site, the command

info MakeCatalog

should give you access to the complete manual.


๐Ÿ’– And that's a wrap, bestie โ€” this page is from GNU Astronomy Utilities 0.24, November 2025, and it's the MAKECATALOG(1) manual. Stay iconic. โœจ

๐Ÿ“ฆ where this page comes from