Menu

cli output versus clipboard

James Roe
2024-01-05
2024-01-08
  • James Roe

    James Roe - 2024-01-05

    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?

     
  • han.k

    han.k - 2024-01-05

    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

     
  • James Roe

    James Roe - 2024-01-06

    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?

     
  • han.k

    han.k - 2024-01-08

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.