Hi,
the 'best focus' button being locked is a side effect of the parabola not being detected - it becomes enabled when the best position has been calculated.
I must admit the parabola does look good. Please could you send me the SharpCap log from the session with the parabola shown below and I can run the data through the best fit code and see what is stopping it from working.
thanks,
Robin
SharpCap Sequence Editor Questions
Re: SharpCap Sequence Editor Questions
Hi Robin,
Thank you for investigating my focus issues further. My photo was taken at 21:57 so I've appended the log from that time period.
Hope this is useful. I know I changed many focus parameters trying to get a good focus. Quite a few showed a smooth profile but it never found a "best focus".
Cheers,
Dave Stowe
Thank you for investigating my focus issues further. My photo was taken at 21:57 so I've appended the log from that time period.
Hope this is useful. I know I changed many focus parameters trying to get a good focus. Quite a few showed a smooth profile but it never found a "best focus".
Cheers,
Dave Stowe
- Attachments
-
- Log_2023-08-09T21_34_04-21164.log-B.txt
- (929.34 KiB) Downloaded 150 times
-
- Log_2023-08-09T21_34_04-21164.log-A.txt
- (850.61 KiB) Downloaded 131 times
- admin
- Site Admin
- Posts: 17555
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: SharpCap Sequence Editor Questions
Hi Dave,
thanks for posting... An odd one, since when I extracted the focus data from your log for that attempt and fed it into the current code, it happily found a best focus position at about 22550, yet in your log it's clear that the fit wasn't found.
I haven't yet worked out how the difference occurs between what you are seeing and what I am seeing in testing, so I am going to add some code that will log at the end of a failed scan all the data that was being used (focuser positions and scores). I can only presume that on your side somehow the data is getting mixed up, or not all used, or something.
Hopefully adding extra logging to the next version will reveal what is going on and let me fix any issues.
cheers,
Robin
thanks for posting... An odd one, since when I extracted the focus data from your log for that attempt and fed it into the current code, it happily found a best focus position at about 22550, yet in your log it's clear that the fit wasn't found.
I haven't yet worked out how the difference occurs between what you are seeing and what I am seeing in testing, so I am going to add some code that will log at the end of a failed scan all the data that was being used (focuser positions and scores). I can only presume that on your side somehow the data is getting mixed up, or not all used, or something.
Hopefully adding extra logging to the next version will reveal what is going on and let me fix any issues.
cheers,
Robin
Re: SharpCap Sequence Editor Questions
Great, looking forward to understanding it all. Thank you!
- admin
- Site Admin
- Posts: 17555
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: SharpCap Sequence Editor Questions
Hi,
yes, I got some extra logging in that will record at the end of the scan more easily accessible info about the data collected, what data was used and the status of the curve fitting, something like this
With that info, if it happens again it should be much easier to work out why.
cheers,
Robin
yes, I got some extra logging in that will record at the end of the scan more easily accessible info about the data collected, what data was used and the status of the curve fitting, something like this
Code: Select all
Info 15:47:52.668711 #1 Current best fit is Valid with best at -0, confidence 0.9863699672022329, based on 7 points
Info 15:47:54.760682 #1 Focus data used for fit :
300,7.18267
200,5.178914
100,3.5832899
0,2.7237036
-100,3.5832899
-200,5.178914
-300,7.18267
Info 15:47:57.614938 #1 Full focus data at end of scan :
300,7.18267
200,5.178914
100,3.5832899
0,2.7237036
-100,3.5832899
-200,5.178914
-300,7.18267
-400,9.102404
-500,10.983466
-600,12.899389
-700,14.740778
-800,16.272955
-900,17.183151
cheers,
Robin
Re: SharpCap Sequence Editor Questions
Cheers, Dave
- admin
- Site Admin
- Posts: 17555
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: SharpCap Sequence Editor Questions
Hi Dave,
go to the 4.1 downloads page (https://www.sharpcap.co.uk/sharpcap/sha ... p-4-1-beta), download the latest installer (currently 4.1.10790) and run it. The installer will automatically upgrade the version you have currently installed and then you will get the new logging as well as a number of other fixes and improvements.
cheers,
Robin
go to the 4.1 downloads page (https://www.sharpcap.co.uk/sharpcap/sha ... p-4-1-beta), download the latest installer (currently 4.1.10790) and run it. The installer will automatically upgrade the version you have currently installed and then you will get the new logging as well as a number of other fixes and improvements.
cheers,
Robin