nion-software / nionswift-instrumentation-kit

Base classes for Nion Swift STEM microscope instrumentation
GNU General Public License v3.0
1 stars 12 forks source link

class ScanSpecifier in STEMController does not set 'scan_pixel_count' #181

Closed yvesauad closed 3 months ago

yvesauad commented 4 months ago

Hi Chris and Andreas,

the update estimate of the spectral imaging and 4d is not working in newer versions. If I tracked correctly, self.scan_pixel_count is not set (probably forgotten?) in the class ScanSpecifier inside STEMController.py

after adding, in the update method, the following: self.scan_pixel_count = scan_height * scan_width

the preview is working back again as intended

thank you very much again, and cheers! yves