bug-gnuastro
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tutorial PSF subtraction


From: Alejandro Serrano Borlaff
Subject: Tutorial PSF subtraction
Date: Mon, 9 Jan 2023 17:58:19 -0800

Dear Gnuastro team,

I am following the tutorial to build the outer part of the PSF. (https://www.gnu.org/software/gnuastro/manual/html_node/Building-outer-part-of-PSF.html), using Gnuastro 0.19. When I arrive to the following commands:

$ imgs=outer/stamps/*.fits
$ numimgs=$(echo $imgs | wc -w)
$ astarithmetic $imgs $numimgs 3 0.2 sigclip-mean -g1 \
                --output=outer/stack.fits  --wcsfile=none


Gnuastro returns an error:

(astro) aborlaff@chispas PSF_TUTORIAL % astarithmetic $imgs $numimgs 3 0.2 sigclip-mean -g1 \
                --output=outer/stack.fits  --wcsfile=none

FITSIO status = 104: could not open the named file
failed to find or open the following file: (ffopen)
outer/stamps/*.fits[1#]

My impression was that  astarithmetic cannot be applied over string-* defined list of files (in this case outer/stamps/*.fits) and that the paragraph above should be a for loop, but maybe I am missing something. I checked the files and all the stamps are there, correctly saved, with their extensions in place.

Best,
Alex





--
==================================================================
Ex Luna, Scientia

Alejandro S. Borlaff, PhD  -  NASA / BAERI Researcher
NASA Space Science and Astrobiology Division (Code ST)
NASA Ames Research Center, N245-6, Moffett Field, California (94035) USA              
Webpage :  https://borlaff.github.io/
GitHub: https://github.com/Borlaff
Twitter: @asborlaff
==================================================================

reply via email to

[Prev in Thread] Current Thread [Next in Thread]