python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
69 stars 41 forks source link

Wrong images from Andor Zyla 5 #140

Closed VroniPfann closed 4 years ago

VroniPfann commented 4 years ago

@carandraug We swapped the shape of the numpy array, width by height. That way we can now see rectangular images, before only square images by default were possible.

carandraug commented 4 years ago

The Zyla 5.5 has a rectangular sensor (2560x2160) and the acquired images were wrong. Changing the ROI for a square fixed the issue and then swapping the dimensions when creating the image buffer on andorsdk3 fixed it for good.

I have checked now that this was written for a Zyla 4.2 which has a square sensor (2048x2048) so I'm guessing this has just been always wrong and not something that the Andor SDK is doing different now.

carandraug commented 4 years ago

Closing as fixed.