Autofocus final position when parabolic fit fails
Autofocus final position when parabolic fit fails
Right now, when autofocus does not get a fit by the end of the scan, the focus returns to the starting position (which is a huge improvement over the earlier versions where autofocus just left the focus where it finished). The attached images show a couple of "failed" autofocus runs where there is a clear minimum, but the parabolic fit algorithm didn't converge. Would it be possible to include a toggle (sorry if it already exists and I haven't found it) that would instead return the focus to the best point found during the scan in the event that a parabolic fit can't be found? I'm highly dependent on autofocus throughout a night of many different pointings and with the current algorithm, once I'm off in focus I'm stuck there for all of the remaining autofocus runs because every subsequent focus scan starts well off the focus center (like the attached scans) and the fit doesn't succeed.
You may ask, "Why not smartfocus?" My application is time critical (occultations) and I can't risk a long smartfocus chase. The time taken for focus needs to be definitive, thus the fixed number of points in my focus scan. If smartfocus was limited to "no more than N additional points" it might work.
Maybe broaden my focus range? Then I run into two issues. 1) SNR gets so poor that the number of focus stars falls below threshold and I get the "25's". 2) The shape of the out of focus images is far from gaussian, so the FWHM fit returns biased values that create a curve that doesn't look inviting to the parabolic fit algorithm. This latter issue also crops up because of wind shake and tracking jumps, although the option to use the best focus of 5 trials has helped that a lot.
Thanks,
Mike.
You may ask, "Why not smartfocus?" My application is time critical (occultations) and I can't risk a long smartfocus chase. The time taken for focus needs to be definitive, thus the fixed number of points in my focus scan. If smartfocus was limited to "no more than N additional points" it might work.
Maybe broaden my focus range? Then I run into two issues. 1) SNR gets so poor that the number of focus stars falls below threshold and I get the "25's". 2) The shape of the out of focus images is far from gaussian, so the FWHM fit returns biased values that create a curve that doesn't look inviting to the parabolic fit algorithm. This latter issue also crops up because of wind shake and tracking jumps, although the option to use the best focus of 5 trials has helped that a lot.
Thanks,
Mike.
- Attachments
-
- Screen Shot 2023-07-19 at 21.40.40.png (173.83 KiB) Viewed 2421 times
-
- Screen Shot 2023-07-16 at 22.12.05.png (405.95 KiB) Viewed 2421 times
- admin
- Site Admin
- Posts: 17609
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Autofocus final position when parabolic fit fails
Hi Mike,
if you have the SharpCap log files that contain those autofocus runs (and the rough times that they happened so that I can find them in the log), I can investigate what might or might not be possible.
I think that both runs are failing due to a statistical check in the SharpCap code - basically it looks for the focus curve, takes it away from the data, measures the random variation of what is left to get a feel for how much noise is in the data. Then it will check that there are enough points on both sides of the best point that are 'significantly' worse than the best point - measured relative to the noise level that has been calculated. This check is designed to protect against finding a 'best focus' that is actually just a random dip in the graph somewhere away from the true best focus position.
You can now see why increasing the number of samples helps as it reduces the noise in the graph, meaning that curves are less likely to be rejected. Using the average rather than the best score may also help as the noise in the average will likely be lower again.
Also, getting the '25' score shouldn't stop the focus scan from working. SharpCap uses that score as a placeholder for 'not enough stars', but ignores those points when curve fitting. As long as the FWHM continues to rise as you move away from focus, it should be OK, since the fitting code starts at the lowest point and gradually widens the amount of data it uses until it finds the best possible fit to the quadratic. If using more data gives a worse fit because the bad scores start to plateau then they should be ignored.
cheers,
Robin
if you have the SharpCap log files that contain those autofocus runs (and the rough times that they happened so that I can find them in the log), I can investigate what might or might not be possible.
I think that both runs are failing due to a statistical check in the SharpCap code - basically it looks for the focus curve, takes it away from the data, measures the random variation of what is left to get a feel for how much noise is in the data. Then it will check that there are enough points on both sides of the best point that are 'significantly' worse than the best point - measured relative to the noise level that has been calculated. This check is designed to protect against finding a 'best focus' that is actually just a random dip in the graph somewhere away from the true best focus position.
You can now see why increasing the number of samples helps as it reduces the noise in the graph, meaning that curves are less likely to be rejected. Using the average rather than the best score may also help as the noise in the average will likely be lower again.
Also, getting the '25' score shouldn't stop the focus scan from working. SharpCap uses that score as a placeholder for 'not enough stars', but ignores those points when curve fitting. As long as the FWHM continues to rise as you move away from focus, it should be OK, since the fitting code starts at the lowest point and gradually widens the amount of data it uses until it finds the best possible fit to the quadratic. If using more data gives a worse fit because the bad scores start to plateau then they should be ignored.
cheers,
Robin
Re: Autofocus final position when parabolic fit fails
Thanks for taking a look. The log information is below. I've been happy with the "best" of multiple sample options because of wind-shake and tracking issues, so it's usually one or two of the samples at one focus point that represents the real FWHM for that point. I might try going back to averaging to see what happens. The other thing you might note in my own idiosyncratic focus curves is that the image behavior at small focus values leads to a flattening of FWHM with increasing defocus on that side, while on the positive side (that isn't well represented here) the FWHM runs away parabolically as expected. I suspect it is the mismatch on that low-value end that leads to the large residuals that cause a focus fit to be rejected because the noise measured from the residuals is so large. Maybe rejecting large residual points at the ends of the focus curve, assuming enough points survive overall, and calculating the noise/fit from the survivors would be more robust.
Mike.
The relevant parts of the two logs are attached. The timestamps on the screen captures are UTC-6, so the one with 07-16 in the filename corresponds to the log for 07-17. Similarly, 07-19 corresponds to 07-20.
In the 07-17 log file the focus scan in question begins at:
Debug 04:06:52.697810 #1 Sequencer : Starting : Autofocus from offset -2400 to 2400 with 14 steps allowing for backlash up to 0 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Info 04:06:52.713493 #1 Selecting transform Multi-Star FWHM Measurement
In the 07-20 file:
Debug 03:35:43.991881 #1 Sequencer : Starting : Autofocus from offset -2400 to 2400 with 14 steps allowing for backlash up to 0 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Info 03:35:44.005135 #1 Selecting transform Multi-Star FWHM Measurement
Mike.
The relevant parts of the two logs are attached. The timestamps on the screen captures are UTC-6, so the one with 07-16 in the filename corresponds to the log for 07-17. Similarly, 07-19 corresponds to 07-20.
In the 07-17 log file the focus scan in question begins at:
Debug 04:06:52.697810 #1 Sequencer : Starting : Autofocus from offset -2400 to 2400 with 14 steps allowing for backlash up to 0 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Info 04:06:52.713493 #1 Selecting transform Multi-Star FWHM Measurement
In the 07-20 file:
Debug 03:35:43.991881 #1 Sequencer : Starting : Autofocus from offset -2400 to 2400 with 14 steps allowing for backlash up to 0 in void SharpCap.Sequencer.SequencerContext.OnProgress(string e)
Info 03:35:44.005135 #1 Selecting transform Multi-Star FWHM Measurement
- Attachments
-
- Log0717.log
- (916.88 KiB) Downloaded 103 times
-
- Log0720.log
- (805.47 KiB) Downloaded 68 times
- admin
- Site Admin
- Posts: 17609
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Autofocus final position when parabolic fit fails
Hi,
I've analysed the data in those two logs to look into what is causing the fit to be rejected. As I suspected, in both cases it's my check that there are 'enough' points on each side of the predicted best position that are worse than the best focus by a significant amount.
For the bottom graph, one extra data point at the right hand side with a score of 5.5 (ie the curve continues to rise slowly on the right) is enough to cause the calculation to succeed with a best position of about 52915. I suspect that the top graph would require two more data points on the right hand side to work, but I did not test this.
I can see one issue where the data to be checked is chosen as a symmetrical region around the lowest data point, which is not helpful in case 2, since the very lowest score is somewhat to the left of the position where the curve fit indicates best focus. That's something I will look to change in the future, but not right now as I am getting so close to releasing 4.1. Anyway, some manual tests indicated that correcting that would still not provide a result with the given data without an extra point on the right.
I think the real issue is that the scan range is a bit too small to be sure of including both the best focus point *and* enough of the curve either side to find a good fit. Perhaps increase to -3000 to 3000 and see how that goes - I guess it does depend on how much the focus has drifted since the last focus too.
Finally, it's worth looking at your focus settings, since the combinations of them are not necessarily intuitive...
On the left, there are 'averaging' settings which control how raw scores are combined to make a single reading of focus. For instance if you choose average over 5 frames and show best score then 5 frames will be captured and the best of them will become the data value. If the setting here is '1 frame' or is a time less than the exposure then the best/average option is irrelevant - all raw readings will become data points.
The next part is the 'Samples to collect at each step' - this says how many of the readings that come out of the first part need to be collected to make the value for each focus scan point. At this stage the values are *always* averaged, so setting 3 here will take the average of 3 values, each of which will have been constructed according to the 'Averaging' settings on the left.
I suspect that (unless you have chosen for instance 5 frames on the left), that means that you are really getting the average of 3 frame readings in your configuration.
cheers,
Robin
I've analysed the data in those two logs to look into what is causing the fit to be rejected. As I suspected, in both cases it's my check that there are 'enough' points on each side of the predicted best position that are worse than the best focus by a significant amount.
For the bottom graph, one extra data point at the right hand side with a score of 5.5 (ie the curve continues to rise slowly on the right) is enough to cause the calculation to succeed with a best position of about 52915. I suspect that the top graph would require two more data points on the right hand side to work, but I did not test this.
I can see one issue where the data to be checked is chosen as a symmetrical region around the lowest data point, which is not helpful in case 2, since the very lowest score is somewhat to the left of the position where the curve fit indicates best focus. That's something I will look to change in the future, but not right now as I am getting so close to releasing 4.1. Anyway, some manual tests indicated that correcting that would still not provide a result with the given data without an extra point on the right.
I think the real issue is that the scan range is a bit too small to be sure of including both the best focus point *and* enough of the curve either side to find a good fit. Perhaps increase to -3000 to 3000 and see how that goes - I guess it does depend on how much the focus has drifted since the last focus too.
Finally, it's worth looking at your focus settings, since the combinations of them are not necessarily intuitive...
On the left, there are 'averaging' settings which control how raw scores are combined to make a single reading of focus. For instance if you choose average over 5 frames and show best score then 5 frames will be captured and the best of them will become the data value. If the setting here is '1 frame' or is a time less than the exposure then the best/average option is irrelevant - all raw readings will become data points.
The next part is the 'Samples to collect at each step' - this says how many of the readings that come out of the first part need to be collected to make the value for each focus scan point. At this stage the values are *always* averaged, so setting 3 here will take the average of 3 values, each of which will have been constructed according to the 'Averaging' settings on the left.
I suspect that (unless you have chosen for instance 5 frames on the left), that means that you are really getting the average of 3 frame readings in your configuration.
cheers,
Robin
Re: Autofocus final position when parabolic fit fails
Thanks for taking the time to diagnose so thoroughly my issues with autofocus. I'm waiting for some poor weather to pass, but once I can get on sky again I'll try expanding the focus range (and experimenting with some of the focus parameters). Right now I use 5 measurement per sample (selecting best value) and three of those samples averaged at each focus step.
Re: Autofocus final position when parabolic fit fails
I’ll throw in my 2 cents worth, although it may be worth less than that. I’ve seen a number of times now when my steps are weighted toward the negative side, as in the first screenshot of the first post in this thread. This happens because a SCT that I have tends to go out of focus with time in the positive direction. On the next autofocus, my range doesn’t seem to start far enough outward in the positive direction and I get a relatively flat curve there, along with increasing FWHM to the left of this. What I’ve seen the SharpCap algorithm do in these cases, is keep adding more points (and a lot of them) on the left (negative) side, even though that side looks quite well-defined to my eyes. This has never led to SharpCap producing a parabola best-fit, and I’ve stopped the auto focus and changed my offsets when I’ve seen this happen. It seems to me that what is needed, is for the SharpCap algorithm to add some extra points to the right of my initial starting point in cases like this, to try to better define the curve in that area. I’ve never seen this happen. I’m just guessing this would help, based on what I see, but I have no knowledge of how the SharpCap algorithm actually constructs the parabola. Anyhow, what I do now is “cheat” a bit on the offsets, starting at +500 and going to -400, for example. This way, I have a better chance of getting more definition on the positive side initially, and if there isn’t enough definition on the negative side, I’m confident that the SharpCap algorithm will add more points on the left to get a parabola and a good focus point. It doesn’t always need to extend, though, so I keep the negative offset smaller in magnitude than the positive offset, at least for my SCT. BTW, I’m using SharpCap v4.1.10827 (beta).
Maybe the best thing to do is just do tests to determine what is the largest offset that is needed for a particular scope, given how far out of focus your system may become over a certain time period (I've beein auto focussing every hour), and just use that for the positive offset. The bottom line is that when I get “enough” points to the right of the focus point, SharpCap always finds a parabola. If I don’t have “enough” points on the right, SharpCap appears to just keep adding points on the left (negative) side and never succeeds to get a parabola. I must be using pretty good numbers now, because I’ve had > 12 auto focus processes complete successfully in a row recently. I’ve started working with a refractor recently, and it doesn’t go out of focus as much, and so I haven’t “cheated” with the offsets on it, and the auto focus has worked well.
Rich
Maybe the best thing to do is just do tests to determine what is the largest offset that is needed for a particular scope, given how far out of focus your system may become over a certain time period (I've beein auto focussing every hour), and just use that for the positive offset. The bottom line is that when I get “enough” points to the right of the focus point, SharpCap always finds a parabola. If I don’t have “enough” points on the right, SharpCap appears to just keep adding points on the left (negative) side and never succeeds to get a parabola. I must be using pretty good numbers now, because I’ve had > 12 auto focus processes complete successfully in a row recently. I’ve started working with a refractor recently, and it doesn’t go out of focus as much, and so I haven’t “cheated” with the offsets on it, and the auto focus has worked well.
Rich
- admin
- Site Admin
- Posts: 17609
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Autofocus final position when parabolic fit fails
Hi,
thanks for the feedback. I think what is happening is that SharpCap is happy to add more points at the *end* of the scan - whichever direction the scan happens to be in, but doesn't currently go back to the start of the scan and add more points there. Well, there were some versions that tried to do that, but it didn't work very well to the extent that it caused problems more often than it solved them, so I have disabled that in the beta.
The golden rule is to make sure that you start far enough from the expected focus position for there to be a good parabola section leading up to the minimum. SharpCap will happily add extra points after the best focus if you have started too far short, so err in that direction.
I did look at the data from the logs above again and found that I could make one of them work by dealing with the problem caused by the lowest point being offset from the true center of the fitted curve, so I tweaked that. Now it will try to fit a curve on data centered on the lowest point (say picking 4 points each side for a total of 9 points). Then if that gives a curve but the curve fails some of the signal strength checks, it will try again for 9 points centered on the point predicted by the curve that wasn't strong enough to see if that is any better.
cheers,
Robin
thanks for the feedback. I think what is happening is that SharpCap is happy to add more points at the *end* of the scan - whichever direction the scan happens to be in, but doesn't currently go back to the start of the scan and add more points there. Well, there were some versions that tried to do that, but it didn't work very well to the extent that it caused problems more often than it solved them, so I have disabled that in the beta.
The golden rule is to make sure that you start far enough from the expected focus position for there to be a good parabola section leading up to the minimum. SharpCap will happily add extra points after the best focus if you have started too far short, so err in that direction.
I did look at the data from the logs above again and found that I could make one of them work by dealing with the problem caused by the lowest point being offset from the true center of the fitted curve, so I tweaked that. Now it will try to fit a curve on data centered on the lowest point (say picking 4 points each side for a total of 9 points). Then if that gives a curve but the curve fails some of the signal strength checks, it will try again for 9 points centered on the point predicted by the curve that wasn't strong enough to see if that is any better.
cheers,
Robin
Re: Autofocus final position when parabolic fit fails
I agree wholeheartedly with your golden rule. Do you have a date when a lot of the recent autofocus changes will be put into a new non-beta version of SharpCap?
Rich
Rich
- admin
- Site Admin
- Posts: 17609
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Autofocus final position when parabolic fit fails
Hi Rich,
SharpCap 4.1 is now in 'release candidate' stage - basically almost ready to release but I am not making a big noise about it yet while I fix any new bugs that show up and write some new pages for the web site giving info on the new features.
Downloads are still here - https://www.sharpcap.co.uk/sharpcap/sha ... p-4-1-beta - but the latest ones do not have the 'beta' tag and do not have a built in 'expires by' date.
cheers,
Robin
SharpCap 4.1 is now in 'release candidate' stage - basically almost ready to release but I am not making a big noise about it yet while I fix any new bugs that show up and write some new pages for the web site giving info on the new features.
Downloads are still here - https://www.sharpcap.co.uk/sharpcap/sha ... p-4-1-beta - but the latest ones do not have the 'beta' tag and do not have a built in 'expires by' date.
cheers,
Robin
Re: Autofocus final position when parabolic fit fails
Attached is another interesting non-converging focus run. This time after I expanded the focus range. Now at one extreme I'm in the regime of "not enough stars". It looks as if the 25's do have an impact on fit convergence because the points outside of the 25 regime seem to have a clear minimum (or maybe once again a low point in the wrong place is throwing off the fit). It is interesting that a couple of the 25.0's come from a 25,25,4 ish triple, so has an uncertainty, but also somehow those numbers still average to 25. Either way, I thought I would run it by you in case it's useful. Below is the core information about the focus run and attached is the graphic and verbose log. Thanks, Mike.
(base) mfs4n@ASTR-JNXYY3J9C5-MS atemp % grep -A1 "Measured focus" focus.20230804.log
Info 08:10:47.940132 #1 Measured focus score at position 48644.000 of 25.0000 +- 0.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:10:47.940267 #1 Data was 25.0000, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:07.944385 #1 Measured focus score at position 49044.000 of 25.0000 +- 4.9979 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:07.944528 #1 Data was 25.0000, 25.0000, 3.7955 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:27.906289 #1 Measured focus score at position 49444.000 of 25.0000 +- 0.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:27.906587 #1 Data was 25.0000, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:48.875501 #1 Measured focus score at position 49844.000 of 25.0000 +- 4.8842 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:48.875653 #1 Data was 4.2780, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:08.797622 #1 Measured focus score at position 50244.000 of 4.1394 +- 0.0653 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:08.797817 #1 Data was 3.9736, 4.3557, 4.0889 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:28.978788 #1 Measured focus score at position 50644.000 of 4.0817 +- 0.0107 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:28.978934 #1 Data was 4.1153, 4.0782, 4.0516 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:48.941195 #1 Measured focus score at position 51044.000 of 4.2102 +- 0.0141 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:48.941340 #1 Data was 4.1626, 4.2247, 4.2433 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:08.902843 #1 Measured focus score at position 51444.000 of 4.0368 +- 0.0189 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:08.903003 #1 Data was 4.0791, 4.0588, 3.9724 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:28.987655 #1 Measured focus score at position 51844.000 of 3.9778 +- 0.0760 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:28.987826 #1 Data was 3.7801, 3.9259, 4.2274 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:48.959231 #1 Measured focus score at position 52244.000 of 3.7877 +- 0.0702 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:48.959368 #1 Data was 3.5940, 3.7573, 4.0118 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:08.904576 #1 Measured focus score at position 52644.000 of 3.7549 +- 0.0485 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:08.904741 #1 Data was 3.9081, 3.7382, 3.6184 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:28.883216 #1 Measured focus score at position 53044.000 of 3.7258 +- 0.0282 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:28.883389 #1 Data was 3.6962, 3.6601, 3.8212 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:48.905379 #1 Measured focus score at position 53444.000 of 4.0127 +- 0.0577 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:48.905551 #1 Data was 3.8208, 4.0596, 4.1576 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:08.951034 #1 Measured focus score at position 53844.000 of 4.4670 +- 0.0381 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:08.951202 #1 Data was 4.3429, 4.4902, 4.5678 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:29.013016 #1 Measured focus score at position 54244.000 of 4.8914 +- 0.0229 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:29.013165 #1 Data was 4.8722, 4.9677, 4.8344 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:48.962659 #1 Measured focus score at position 54644.000 of 4.6349 +- 0.1073 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:48.962805 #1 Data was 5.0016, 4.5035, 4.3995 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
(base) mfs4n@ASTR-JNXYY3J9C5-MS atemp % grep -A1 "Measured focus" focus.20230804.log
Info 08:10:47.940132 #1 Measured focus score at position 48644.000 of 25.0000 +- 0.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:10:47.940267 #1 Data was 25.0000, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:07.944385 #1 Measured focus score at position 49044.000 of 25.0000 +- 4.9979 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:07.944528 #1 Data was 25.0000, 25.0000, 3.7955 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:27.906289 #1 Measured focus score at position 49444.000 of 25.0000 +- 0.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:27.906587 #1 Data was 25.0000, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:11:48.875501 #1 Measured focus score at position 49844.000 of 25.0000 +- 4.8842 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:11:48.875653 #1 Data was 4.2780, 25.0000, 25.0000 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:08.797622 #1 Measured focus score at position 50244.000 of 4.1394 +- 0.0653 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:08.797817 #1 Data was 3.9736, 4.3557, 4.0889 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:28.978788 #1 Measured focus score at position 50644.000 of 4.0817 +- 0.0107 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:28.978934 #1 Data was 4.1153, 4.0782, 4.0516 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:12:48.941195 #1 Measured focus score at position 51044.000 of 4.2102 +- 0.0141 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:12:48.941340 #1 Data was 4.1626, 4.2247, 4.2433 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:08.902843 #1 Measured focus score at position 51444.000 of 4.0368 +- 0.0189 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:08.903003 #1 Data was 4.0791, 4.0588, 3.9724 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:28.987655 #1 Measured focus score at position 51844.000 of 3.9778 +- 0.0760 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:28.987826 #1 Data was 3.7801, 3.9259, 4.2274 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:13:48.959231 #1 Measured focus score at position 52244.000 of 3.7877 +- 0.0702 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:13:48.959368 #1 Data was 3.5940, 3.7573, 4.0118 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:08.904576 #1 Measured focus score at position 52644.000 of 3.7549 +- 0.0485 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:08.904741 #1 Data was 3.9081, 3.7382, 3.6184 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:28.883216 #1 Measured focus score at position 53044.000 of 3.7258 +- 0.0282 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:28.883389 #1 Data was 3.6962, 3.6601, 3.8212 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:14:48.905379 #1 Measured focus score at position 53444.000 of 4.0127 +- 0.0577 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:14:48.905551 #1 Data was 3.8208, 4.0596, 4.1576 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:08.951034 #1 Measured focus score at position 53844.000 of 4.4670 +- 0.0381 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:08.951202 #1 Data was 4.3429, 4.4902, 4.5678 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:29.013016 #1 Measured focus score at position 54244.000 of 4.8914 +- 0.0229 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:29.013165 #1 Data was 4.8722, 4.9677, 4.8344 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
--
Info 08:15:48.962659 #1 Measured focus score at position 54644.000 of 4.6349 +- 0.1073 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
Info 08:15:48.962805 #1 Data was 5.0016, 4.5035, 4.3995 in async Task SharpCap.FrameTransforms.Focus.Scanner.RunStepAsync(int i, CancellationToken cancellationToken)
- Attachments
-
- Screen Shot 2023-08-04 at 03.28.54.png (149.01 KiB) Viewed 2267 times
-
- focus.20230804.log
- (47.58 KiB) Downloaded 110 times