CONVOLVE(1)

πŸ“¦
version 0.24 Β· 5 versions
, in epel 10, epel 9, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– CONVOLVE(1) β€” the astconvolve glow-up πŸ’–

okay so bestie, welcome to the Convolve page from GNU Astronomy Utilities 0.24, filed under User Commands πŸŽ€ and it's literally about smooshing an image with a kernel. iconic behaviour, honestly.


✨ NAME ✨

Convolve β€” convolve an image with a given kernel 🫢


🌸 SYNOPSIS 🌸

astconvolve [OPTION...] ASTRdata

πŸ¦‹ DESCRIPTION πŸ¦‹

Convolve is part of GNU Astronomy Utilities 0.24. She will convolve an input image with a given spatial kernel (image) β€” either in the spatial domain (no edge effects, queen behaviour πŸ’…) or in the frequency domain. And ngl, the frequency domain one does suffer from edge effects, but it can be much faster. trade-offs, we love to see it ✨

For more info, bestie, just run any of these. The second one especially is the comprehensive lore drop on how to invoke Convolve: what inputs it expects, what outputs it gives, and a full rundown of every single option. πŸ‘‘

All options and their values:

$ astconvolve -P

Inputs/Outputs and options:

$ info astconvolve

Full section in manual/book:

$ info Convolve

Full Gnuastro manual/book:

$ info gnuastro

If you couldn't find your answer in the manual, you can get direct help from experienced Gnuastro users and developers. For more information, please run:

$ info help-gnuastro

πŸ’œ Convolve options πŸ’œ

πŸ“ Input πŸ“

  • -c, --column=STR β€” column name or number if the input is a table.
  • -h, --hdu=STR/INT β€” extension name or number of the input data.
  • -H, --minsharpspec=FLT β€” deconvolution: minimum spectrum of the sharp image.
  • --kernelcolumn=STR β€” column name or number if the kernel is a table.
  • -k, --kernel=FITS β€” file name of the kernel you're convolving with.
  • --nokernelflip β€” do not flip the kernel image.
  • --nokernelnorm β€” do not normalize the kernel image.
  • --searchin=STR β€” pick the column(s): 'name', 'unit', 'comment'.
  • --stdintimeout=INT β€” micro-seconds to wait for standard input.
  • -u, --khdu=STR β€” HDU containing the kernel.

🧚 Tessellation (tile grid) 🧚

  • --checktiles β€” tile IDs in an image, the size of the input.
  • -F, --remainderfrac=FLT β€” fraction of remainder to split the 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 resolution.
  • --workoverch β€” work (not tile) over channel edges.
  • -Z, --tilesize=INT[,INT] β€” regular tile size on dim.s (FITS order).

🌈 Output 🌈

  • --conv-on-blank β€” do convolution on blank pixels also.
  • -C, --checkfreqsteps β€” view the steps in the frequency domain.
  • -D, --dontdelete β€” don't delete the output if it exists.
  • -K, --keepinputdir β€” keep the input directory for automatic output.
  • --noedgecorrection β€” do not correct the edges in the spatial domain.
  • --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.
  • --tableformat=STR β€” table fmt: 'fits-ascii', 'fits-binary', 'txt'.
  • -T, --type=STR β€” type of output: e.g., int16, float32, etc...
  • --wcslinearmatrix=STR β€” WCS linear matrix of output ('pc' or 'cd').

πŸ‘‘ Operating modes πŸ‘‘

  • -?, --help β€” give this help list.
  • --checkconfig β€” list all config files and variables read.
  • --cite β€” BibTeX citation for this program.
  • --config=STR β€” read configuration file STR immediately.
  • --config-prefix=STR β€” custom prefix of option names in config files.
  • -d, --domain=STR β€” convolution domain: 'spatial', 'frequency'.
  • --lastconfig β€” do not parse any more configuration files.
  • --minmapsize=INT β€” min. bytes to avoid RAM automatically.
  • -m, --makekernel=INT β€” make a 2*INT kernel to create the input image.
  • -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. no cap, that's just how it works bestie πŸ’…

GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/


😭 REPORTING BUGS 😭

Report bugs to bug-gnuastro@gnu.org. (they're nice, fr fr, don't be shy 🫢)


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 Convolve is maintained as a Texinfo manual. If the info and Convolve programs are properly installed at your site, the command

info Convolve

should give you access to the complete manual. go read it, it's giving main character energy πŸ“šβœ¨


okay bye bestie, that was GNU Astronomy Utilities 0.24 from November 2025 β€” this has been your girl CONVOLVE(1), convolving images and hearts since forever πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from