The command line looks okay but you can not use the barebone solver astap_cli for that. This version is stripped to the minimum. Just change to command line for astap.exe and it should work.
The find focus routine you could test also in tab "Inspector" (ctrl+A). It is the same routine.
Cheers,
Han
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Thanks for the reply!
I got the same result using astap.exe.
The focus works very well in the UI, and I can see the process and result in the logs.
But using the command line, I have no clue of the result, neither in the standard output nor in the return code.
D:\Temp\focus\test3>D:\astap\astap.exe -f focus_2023-3-5T8h2m52s_10.6000.fits -analyse 30
D:\Temp\focus\test3>echo Exit Code is 1128000014
Exit Code is 1128000014
D:\Temp\focus\test3>D:\astap\astap.exe -focus1 D:\Temp\focus\test3\focus_2023-3-5T8h2m52s_10.6000.fits -focus2 D:\Temp\focus\test3\focus_2023-3-5T8h2m52s_11.0000.fits -focus3 D:\Temp\focus\test3\focus_2023-3-5T8h2m52s_11.4000.fits -focus4 D:\Temp\focus\test3\focus_2023-3-5T8h2m52s_11.8000.fits -focus5 D:\Temp\focus\test3\focus_2023-3-5T8h2m52s_12.2000.fits
D:\Temp\focus\test3>echo Exit Code is 0
Exit Code is 0
Thanks for your help.
Florian
Last edit: Florian Signoret 2023-04-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For one image the HFD is too large. The others are all one side of the focus. That will not work. You will need images at both sides of the focus curve. Secondly the HFD values are pretty high. You have to stay closer to the focus.I would not go beyond HFD 12, maybe 14.
See attached image.
Does it work for other images with lower HFD values?
Hello,
I am under windows with ASTAP v2023.04.09
The command line works, but I cannot get any result for the focus command:
Thanks for your help.
Clear skies
Florian
Hi Florian,
The command line looks okay but you can not use the barebone solver astap_cli for that. This version is stripped to the minimum. Just change to command line for astap.exe and it should work.
The find focus routine you could test also in tab "Inspector" (ctrl+A). It is the same routine.
Cheers,
Han
Hello,
Thanks for the reply!
I got the same result using astap.exe.
The focus works very well in the UI, and I can see the process and result in the logs.
But using the command line, I have no clue of the result, neither in the standard output nor in the return code.
Thanks for your help.
Florian
Last edit: Florian Signoret 2023-04-12
I will test it tomorrow. Haven't used it fora long time.
Can you share the 5 files used?
Uing 5 is problythe bare minimum. Does these five result in a good resultin the GUI ?
Han
Hello,
I also tested with more files.
In the GUI I have correct results.
Here are the files.
Thanks
Florian
Hallo florian.
For one image the HFD is too large. The others are all one side of the focus. That will not work. You will need images at both sides of the focus curve. Secondly the HFD values are pretty high. You have to stay closer to the focus.I would not go beyond HFD 12, maybe 14.
See attached image.
Does it work for other images with lower HFD values?
Han
Last edit: han.k 2023-04-13
Indeed, it works with more images, thanks.
I would have expected an error code instead of 0, though.
Clear skies!
Florian
If you find anything else please report.
Yes zero indicates "failure curve fitting". Any other value could be interpreted as a focus point.
Clear skies, Han