ASTSCRIPT-PSF-SUBTRACT(1)
π ASTSCRIPT-PSF-SUBTRACT π
okay bestie, welcome to the astscript-psf-subtract manual page, part of the User Commands crew π«Ά this is the little script that takes a PSF model you already made and yeets it out of your image. it's giving subtraction, it's giving precision, and yes it lives in GNU Astronomy Utilities 0.24 β¨
πΈ NAME πΈ
astscript-psf-subtract β literally just: subtract a given PSF model from the image. that's it. that's the whole job. slay π
β¨ SYNOPSIS β¨
astscript-psf-subtract [OPTION] FITS-files
π¦ DESCRIPTION π¦
okay so first thing's first: this script is part of GNU Astronomy Utilities 0.24. like, it's a card-carrying member of the family π
what it does? it takes the PSF image you hand it, plops it down at some central position inside your image, and then subtracts it. that's the vibe. placement + subtraction, no cap.
want more tea? run any of these, fr fr β and lowkey the first one is the one you want because it has the most comprehensive explanation of how to invoke this script ever: expected input(s), output(s), and a full rundown of every single option π
Inputs/Outputs and options:
$ info astscript-psf-subtract
Full Gnuastro manual/book:
$ info gnuastro
and if the manual still left you hanging? you can get direct help from experienced Gnuastro users and developers π for more info, run:
$ info help-gnuastro
π astscript-psf-subtract options: π
π Input:
-h,--hdu=STRβ HDU/extension of all input FITS files.-p,--psf=STRβ PSF FITS image.-P,--psfhdu=STRβ HDU/extension of the PSF image.-O,--mode=STRβ Coordinates mode ('wcs'or'img').-c,--center=FLT,FLTβ Center coordinates of the object.-s,--scale=FLTβ Factor by which the PSF is multiplied.
π Output:
-o,--outputβ Output table with the radial profile.-t,--tmpdirβ Directory to keep temporary files.-k,--keeptmpβ Keep temporal/auxiliar files.-m,--modelonlyβ Give the model as output (don't subtract it).
β Operating mode:
-?,--helpβ Print this help list.--citeβ BibTeX citation for this program.-q,--quietβ Don't print any extra information in stdout.-V,--versionβ Print program version.
just a heads up bestie: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so don't get cute with it π
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
π REPORTING BUGS π
found a bug? not the fun kind π report bugs to bug-gnuastro@gnu.org.
π COPYRIGHT π
Copyright Β© 2020-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 Raul Infante-Sainz π«Ά
π SEE ALSO π
The full documentation for astscript-psf-subtract is maintained as a Texinfo manual. If the info and astscript-psf-subtract programs are properly installed at your site, the command
info astscript-psf-subtract
should give you access to the complete manual.
and that's the whole page, bestie π this manual is GNU Astronomy Utilities 0.24, dated November 2025, and it's the ASTSCRIPT-PSF-SUBTRACT(1) era. go subtract something 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