CaBMI_acquisition Bunch of code to run a BMI with scanimage It tries to use as few memory as possible