Bug 454278 - Wish: capture process efficiency improvements
Summary: Wish: capture process efficiency improvements
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.5.8
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-23 15:15 UTC by Adrian Knagg-Baugh
Modified: 2022-05-24 08:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Knagg-Baugh 2022-05-23 15:15:58 UTC
When running a capture sequence events appear to happen in the following order:

1. Camera completes image capture.
2. Camera downloads image to computer.
3. Image is converted into fits format, WCS data added etc.
4. Preview of image displays in fitsviewer.
5. Dithering starts.
6. Dithering completes and settle time occurs.
7. Guiding resumes.
8. ekos commands next exposure to start.

The clock time between 1 and 7 can be rather significant: on a Raspberry Pi 4 with a Canon EOS 600D (connects via USB2) it takes around 25s. The process doesn't seem to be optimised properly because there shouldn't be any need for the image-related activity and the dithering-related activity to be serial activities, they should be carried out in parallel. It would save a significant amount of idle time (and therefore allow more time imaging) if the process began dithering as soon as possible after image completion, especially on slower hardware and / or with USB2-connected cameras. The sequence of events would then be:

1. Camera completes image capture.
2. Camera starts downloads image to computer.
3. Dithering starts.
4. Dithering completes and settle time occurs.
5. Guiding resumes.
6. ekos commands next exposure to start.
(at some point) Download completes.
(following) Image is processed into fits format.
(following) Preview of image displays in fitsviewer.

I suppose if considering a sequence of very short exposures like bias you might want to ensure the next capture didn't start before the previous image had been completely dealt with, but even so the sequence could be:

1. Camera completes image capture.
2. Camera starts downloads image to computer.
3a. Dithering starts.
4a. Dithering completes and settle time occurs.
5a. Guiding resumes.
3b. Download completes.
4b. Image is processed into fits format.
5b. Preview of image displays in fitsviewer.
6. (requires 5a and 5b to be complete) ekos commands next exposure to start.
Comment 1 Jasem Mutlaq 2022-05-23 16:57:04 UTC
Thank you for the report. There is an experimental support for Fast Exposure. Go to INDI Control Panel --> Camera Driver --> Options and enable it there. Then capture normally from Ekos. It still doesn't work 100% of the time, but it mostly works.
Comment 2 Adrian Knagg-Baugh 2022-05-24 08:48:00 UTC
Thanks Jasem, I hadn't spotted that but it seems to be what I was looking for. I've closed this as NOTABUG.