You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an (Infinite loop) error when trying to connect to a Gatan K3 camera using "gatansocket3.py".
After some research, I found this error might be due to a type mismatch: on Windows 10 (64-bit) platform, np.int_ is np.int64 (long long), not np.int32 (long).
For example, the following part raises ValueError: buffer size must be a multiple of element size because the 4 byte chars are being converted into an 8-byte array.
I am getting an (Infinite loop) error when trying to connect to a Gatan K3 camera using "gatansocket3.py".
After some research, I found this error might be due to a type mismatch: on Windows 10 (64-bit) platform,
np.int_
isnp.int64
(long long), not np.int32 (long).For example, the following part raises
ValueError: buffer size must be a multiple of element size
because the 4 byte chars are being converted into an 8-byte array.instamatic/src/instamatic/camera/gatansocket3.py
Lines 339 to 345 in f9cf3f7
Best regards, K
The text was updated successfully, but these errors were encountered: