Menu ▾ ▴

Roundess by CLI

4 days ago
1 day ago
  • Andre Germain

    Andre Germain - 4 days ago

    Very handy to use astap_cli for automation via scripts, and if roundess (eccentricity) was available via CLI would be a great addition.

    Regards

     
  • han.k

    han.k - 1 day ago

    Hi Andre,

    The philosophy has been to keep the astap_cli version a pure solver. Secondly I was never so happy about the roundness measurement algorithm. This is pretty difficult for a star like object. But since unroundnes is also measurable by the HFD values, I would recommend to just use the HFD measurement:

    Analyse options:
    -analyse snr_min {Analyse only and report median HFD and number of stars used}

    To analyse a FITS file you could do in a Windows batch file the following:

    c:\astap.fpc\astap.exe -f c:\astap.fpc\test_files\command_line_test\m16.fit -analyse 30
    echo Exit Code is %errorlevel%
    pause

    You will get
    Exit Code is 326000666

    where the HFD is 3.26 using 666 stars

    For Linux and Mac a stdout is used reporting as follows:

    HFD_MEDIAN=3.3

    STARS=666

    -analyse functionality:
    Program Windows Linux macOS
    astap exit code stdout stdout
    astap_cli exit code & stdout stdout stdout

     

Log in to post a comment.