Thank you Tommy,
I am reading your blog, excellent work, a really great resource for anyone interested in optical testing!
The script provides an estimate whose accuracy is ultimately limited by atmospheric turbulence and algorithmic approximations. Long combined exposures help to average out atmospheric turbulence, the plot below shows an example of variability in estimated Strehl ratio for different total exposure times with my FSQ-106EDX in metropolitan observing conditions. Long exposures (at least 100 seconds in both intra and extra-focal stacks) are required for reasonable estimates.
In each column, the white line corresponds to the median of the Strehl ratio estimates, the bottom and top of the box correspond to the 25% and 75% quantiles, and the lower and upper fence correspond to the minimum and maximum estimates.
The script is also limited by algorithmic approximations. On tests with known aberrations (and no atmospheric turbulence) generated by numerical integration of the Rayleigh-Sommerfeld diffraction integral, relative accuracy in wavefront RMS error ranged from 5% to 20% depending on the optic and set of aberrations simulated. For more information, see sections 1.9, 5, and 6 in the script's documentation. For more accurate results, interferometric testing is necessary. I have not done such testing, anything you could do for comparison would be very helpful!
The script requires bias-subtracted frames as input (as well as detector specifications), so unfortunately I can't use images clipped from your blog.
Thanks,
Mike