Importing nanoscope 9.4 files fails
Created by: flounderscore
I cannot import a file created with NanoScope 9.4. The error message is:
File "...translators\bruker_afm.py", line 321, in _read_image_layer data_mat = data_vec.reshape(layer_info['Number of lines'], layer_info['Samps/line']) ValueError: cannot reshape array of size 524288 into shape (512,512)
The issue appears to be a bug in the NanoScope software >= 9.2 where all data is 4 bytes per pixel even though the header says otherwise.