ASTSCRIPT-PSF-SCALE-FACTOR(1)
π astscript-psf-scale-factor β User Commands, section 1 π
okay bestie, sit down, hydrate, because this one is lowkey iconic β¨ β it's astscript-psf-scale-factor, and it's here to do exactly one (1) job and do it gorgeously.
πΈ NAME πΈ
astscript-psf-scale-factor β find the factor to scale a PSF so it matches a given star. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
astscript-psf-scale-factor [OPTION] FITS-files
β¨ DESCRIPTION β¨
so this script is part of GNU Astronomy Utilities 0.24 β she's got a whole family, we love a nepo baby that actually delivers π
here's the tea: you give her a center position, and she computes the factor you need to multiply your specified PSF image by so that it matches the object sitting at that center β within a ring radii (yes, ring radii, that's the technical term, she said what she said). the whole main character idea here is: you need that factor so you can allocate the PSF with the proper flux value for constructing the scattered light field. no cap. π«Ά
want more info? run any of these. and like, especially the first one β it has a very comprehensive explanation of this script's invocation: the expected input(s), the output(s), and a full description of all the options. she spilled everything.
Inputs/Outputs and options:
$ info astscript-psf-scale-factor
Full Gnuastro manual/book:
$ info gnuastro
and if the manual did NOT have your answer (rude of it), you can get direct help from experienced Gnuastro users and developers. for more info, run:
$ info help-gnuastro
π astscript-psf-scale-factor options: π
π Input:
-h,--hdu=STRβ HDU/extension of all input FITS files. (all of them. every single one. she's not picking favorites.)-p,--psf=STRβ PSF image fits file.-P,--psfhdu=STRβ HDU/extension of the PSF image.-O,--mode=STRβ Coordinates mode. it's'wcs'or'img', pick your fighter β-c,--center=FLT,FLTβ Center coordinates of the object. the whole point tbh.-W,--widthinpix=INT,INT Width of the stamp in pixels.β yes bestie, that formatting is exactly how the original wrote it, I'm just the messenger π it's the width of the stamp in pixels.-n,--normradii=INT,INTβ Minimum and maximum radii (in pixels) for computing the scaling factor value. the ring radii in question π«-S,--segment=STRβ Output of Segment (withOBJECTSandCLUMPS). π-s,--sigmaclip=FLT,FLTβ Sigma-clip multiple and tolerance.-d,--nocenteringβ Do not do the sub-pixel centering to new pix grid. like, she simply won't β
π§ Output:
-t,--tmpdirβ Directory to keep temporary files.-k,--keeptmpβ Keep temporal/auxiliar files. (yes, "auxiliar". she's been saying it that way for years and she's not stopping now π)
π Operating mode:
-?,--helpβ Print this help list. your bestie when you're lost.--citeβ BibTeX citation for this program. cite her, she deserves it π-q,--quietβ Don't print any extra information instdout. sometimes silence IS the answer.-V,--versionβ Print program version.
β οΈ Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. read it twice, it's giving β¨reciprocityβ¨
GNU Astronomy Utilities home page: http://www.gnu.org/software/gnuastro/
π REPORTING BUGS π
found a bug? report bugs to bug-gnuastro@gnu.org. not me, I'm just the vibes. π
π 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. none. zero. not even a little. she's free and she's honest about it. π
Written/developed by Raul Infante-Sainz β legend behavior, fr fr π«Ά
π SEE ALSO π
The full documentation for astscript-psf-scale-factor is maintained as a Texinfo manual. If the info and astscript-psf-scale-factor programs are properly installed at your site, the command
info astscript-psf-scale-factor
should give you access to the complete manual.
and that's a wrap, bestie π this whole page is GNU Astronomy Utilities 0.24, dated November 2025 β go scale some PSFs, you're gonna eat π β¨π¦
π¦ 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