OK, to expand on the point I was aiming to make in the above post.
Here is a link to one of the AF Packs produced during my test session:
I am familiar with loading the FITS image files into ASTAP as illustrated below to get #star detections (i.e ranging from 19 to 180), an HFD measurement for each image, and finally a best focus focuser position (ie 5684) using hyperbolic curve fit, i.e.
Below are the corresponding SGP logfile records made during the course of this AF run:
FocPos 5800
[12/01/20 19:56:39.655][DEBUG][Main Thread][AF;] Star list contains 6 stars…
[12/01/20 19:56:39.655][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:56:41.088][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 4.68 with 10 stars
[12/01/20 19:56:41.099][INFO][Camera Thread][AF;] Incremental Fit Result (1): quality=%; a=0; b=0; c=0;
FocPos 5760
[12/01/20 19:56:52.120][DEBUG][Main Thread][AF;] Star list contains 24 stars…
[12/01/20 19:56:52.120][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:56:53.443][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 3.29 with 29 stars
[12/01/20 19:56:53.451][INFO][Camera Thread][AF;] Incremental Fit Result (2): quality=%; a=0; b=0; c=0;
FocPos 5720
[12/01/20 19:57:05.179][DEBUG][Main Thread][AF;] Star list contains 91 stars…
[12/01/20 19:57:05.179][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:57:06.410][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 2.30 with 58 stars
[12/01/20 19:57:06.419][INFO][Camera Thread][AF;] Incremental Fit Result (3): quality=%; a=0; b=0; c=0;
FocPos 5680
[12/01/20 19:57:17.092][DEBUG][Main Thread][AF;] Star list contains 76 stars…
[12/01/20 19:57:17.092][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:57:18.301][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 1.90 with 39 stars
[12/01/20 19:57:18.309][INFO][Camera Thread][AF;] Incremental Fit Result (4): quality=100%; a=154.687500000006; b=-1752.48750000007; c=4965.42950000019;
FocPos 5640
[12/01/20 19:57:29.167][DEBUG][Main Thread][AF;] Star list contains 82 stars…
[12/01/20 19:57:29.167][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:57:30.319][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 2.31 with 44 stars
[12/01/20 19:57:30.326][INFO][Camera Thread][AF;] Incremental Fit Result (5): quality=100%; a=187.053571428596;
FocPos 5600
[12/01/20 19:57:41.161][DEBUG][Main Thread][AF;] Star list contains 14 stars…
[12/01/20 19:57:41.161][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:57:42.351][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 3.38 with 10 stars
[12/01/20 19:57:42.360][INFO][Camera Thread][AF;] Incremental Fit Result (6): quality=100%; a=199.776785714333; b=-2270.42678571483; c=6452.72928571584;
FocPos 5580
[12/01/20 19:57:53.153][DEBUG][Main Thread][AF;] Star list contains 10 stars…
[12/01/20 19:57:53.153][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:57:54.337][DEBUG][Camera Thread][AF;] Auto focus HFD calculated at: 4.75 with 11 stars
[12/01/20 19:57:54.346][INFO][Camera Thread][AF;] Incremental Fit Result (7): quality=100%; a=191.369047619048; b=-2174.30952380952; c=6178.05857142857;
FocPos 5681 (Validation Frame)
[12/01/20 19:58:10.188][DEBUG][Main Thread][AF;] Star list contains 61 stars…
[12/01/20 19:58:10.188][DEBUG][Main Thread][AF;] Calculating HFR with sample size: 3
[12/01/20 19:58:11.398][DEBUG][Camera Thread][AF;] Auto focus validation frame HFD calculated at: 1.98 (N.B NO WITH #STARS?)
[12/01/20 19:58:11.402][INFO][Camera Thread][AF;] Auto focus is complete (5681; HFD 1.98)…
Conclusions
I was expecting the #star detections etc recorded in the SGP logfile to be very similar/identical to the ASTAP analysis made using the same image files, but the results (10-61 #stars) are about 50% less than the ASTAP analysis. This is particularly noticeable for the analysis of the AF image at focuser position 5680 (39 stars identified versus 112 on the ASTAP screenshot). I assume that this is due to some downsizing of the image prior to analysis in the SGP run leading, I guess, to some of the smallest stars being eliminated as hot pixels!!
Overall in this AF run, this difference in approach has not made a great deal of difference to the final recommended best focus position, i.e.
ASTAP analysis of original 2x2 binned FITS files using hyperblic curve fit, recommende focpos 5684
SGP/ASTAP HFD analysis of down sampled FITS images using parabolic fit, recommended focpos 5681.
I estimate that my one step on my focuser is circa 1.25 microns, so well within even a tight definition of CFZ.
Going Forward
Does anyone else have a view on this?
Does anyone have better handle on the pros and cons of the AF image downsampling (assuming I am correct in this?).