I'm new to ASTAP so please forgive if this has been answered before. The data I get from right clicking and downloading the stara info to clipboard from the gui is exactly what I want. How can I get it from the cli? Using -extract snr in the cli doesn't yield the magnitudes the way it does via the clipboard. Also, is there a way to get the sqm report via the cli?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The astap_cli is stripped version which only does solving. It was designed to run in headless system. It should tell the available command line functions when you enter astap_cli -help or astap -h in the commandline.
For snr values and SQM report just use the astap program as the command line program.
Han
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess I was using astap.exe,
C:\Program Files\astap>astap.exe -f C:\scratch\astap\unknown2.jpg -ra 20.1 -spd 136 -z 2 -sqm 20 -fov 55 -analyse2 60 -extract 60
I found the sqm reading in unknow2.ini
The unknown2.cav shows this data
x,y,hfd,snr,flux
Whereas the clipboard shows this data
fitsX fitsY HFD α[°] δ[°] ADU SNR Magn_measured
It's the RA, Dec and Magn measured that I'm after and I think I can do it headless and avoid the manual step of copying the clipboard. Is there any way to get the extra info?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the moment it is not available in the command line. Your the second user asking for it.
Implementing is not so difficult. I can have a look. In principle it should only measure the MZERO value and then the flux can be converted into a magnitude.
What do you want to do with the data?
Han
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm new to ASTAP so please forgive if this has been answered before. The data I get from right clicking and downloading the stara info to clipboard from the gui is exactly what I want. How can I get it from the cli? Using -extract snr in the cli doesn't yield the magnitudes the way it does via the clipboard. Also, is there a way to get the sqm report via the cli?
Hi James.
The astap_cli is stripped version which only does solving. It was designed to run in headless system. It should tell the available command line functions when you enter astap_cli -help or astap -h in the commandline.
For snr values and SQM report just use the astap program as the command line program.
Han
Thanks for the quick response, Han
I guess I was using astap.exe,
C:\Program Files\astap>astap.exe -f C:\scratch\astap\unknown2.jpg -ra 20.1 -spd 136 -z 2 -sqm 20 -fov 55 -analyse2 60 -extract 60
I found the sqm reading in unknow2.ini
The unknown2.cav shows this data
x,y,hfd,snr,flux
Whereas the clipboard shows this data
fitsX fitsY HFD α[°] δ[°] ADU SNR Magn_measured
It's the RA, Dec and Magn measured that I'm after and I think I can do it headless and avoid the manual step of copying the clipboard. Is there any way to get the extra info?
At the moment it is not available in the command line. Your the second user asking for it.
Implementing is not so difficult. I can have a look. In principle it should only measure the MZERO value and then the flux can be converted into a magnitude.
What do you want to do with the data?
Han