MAKECATALOG(1)
๐ 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โ UseGSL_RNG_SEEDenvironment 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 ๐
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
- 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