delmic / odemis

Open Delmic Microscope Software
GNU General Public License v2.0
47 stars 39 forks source link

[feature] Add support for "independent" EBIC on SPARC #2850

Closed pieleric closed 1 month ago

pieleric commented 3 months ago

Add the support for changing the settings of an EBIC detector and playing it live when it's an "independent" detector (ie, it's not directly synchronized with the e-beam scanner component). Also support SPARC synchronized acquisition.

To validate this code, introduce a simple simulator. To simulate the hardware, it pretends to not support continuous acquisition.

pieleric commented 1 month ago

@sneepstefan , I've fixed the code according to your comments. I've also extended the simulator to have an option to not support continuous acquisition, like the MightyEBIC, and also to add some noise to the image mostly to see better when an new image is generated. I've also extend the stream to automatically restart the acquisition, as the hardware doesn't support continuous acquisition by itself. Finally, I've added test cases for the new stream.