microscope icon indicating copy to clipboard operation
microscope copied to clipboard

Add Andor set_transform

Open gjover opened this issue 4 years ago • 1 comments

In order to set transformations as flips and rotations, set_transform method is needed.

gjover avatar Sep 08 '21 10:09 gjover

The transform logic is implemented in the ABC (Camera.set_transform and Camera.get_transform and then used in Camera._process_data). Is that not working for you?

I've looked into your proposed fix at cf592a39793f29ac1987b8b792d9d1bbcb90e7c7 where you use ATMCD's SetImageFlip and SetImageRotate functions. I'm guessing you're want to use the vendor library (because it's faster?). That's fine but this breaks Camera.get_transform (you need to overload it as well). How this plays with the rest of the functions that check Camera._client_transform, Client._readout_transform, and Client._transform should also be checked.

carandraug avatar Jan 10 '23 12:01 carandraug