SAND-Lab / MEA-NAP

MEA-NAP. A streamlined diagnostic and analytic tool for data obtained using microelectrode arrays.
GNU General Public License v3.0
12 stars 6 forks source link

Sample file running error #51

Open wxc1234567891111111 opened 3 months ago

wxc1234567891111111 commented 3 months ago

Hi,I downloaded the latest MEA-NAP code and also downloaded all the mat and CSV format files from the data package website you provided. However, when I imported the files into the MEApipeline GUI, the following error occurred. I want to know the reason for the error and what parameters I need to adjust to run it Snipaste_2024-05-23_11-17-27

Timothysit commented 3 months ago

Hi, thanks for trying out the pipeline! The error you saw is due to the selected sampling frequency (25 kHz by default) not matching the sampling frequency in the example file (12.5 kHz). I have just pushed an update so that the default parameters now work with the example file. You can read more about how to set the parameters here, and let me know if this fixes the issue, thanks!

wxc1234567891111111 commented 3 months ago

Hello, thank you for your answer. The above issue has been resolved and I have successfully run it. Additionally, we are using the MEA256 system, which outputs a. mcd file consisting of raw data from 262 channels. I would like to know if it is possible to use this MEApipeline to analyze the files output by the MEA256 system. How should I import the files into the pipeline?

wxc1234567891111111 commented 3 months ago

262561c3-c385-4722-84a5-97e51d68059d

wxc1234567891111111 commented 3 months ago

Snipaste_2024-05-24_12-41-27

Timothysit commented 2 months ago

Yes, although we haven't tested the code on MEA256 systems, it is certainly possible to analyse these recordings with minor modifications to the code. First, you need to convert the .mcd files to .mat files, you should be able to do that by following the instructions here. After the conversion, you can run the pipeline as normal, except in the layout settings, you need to select "custom" (since we currently do not provide a MEA256 layout, but that can certainly be done if needed), and specify your layout by editing the code here. Give it a go and let me know how it goes! I am also happy to add the MEA256 layout to the pipeline if you let me know how the channels are organised in that layout (from your screenshot I see letters and numbers, do you also have a mapping that go from channel number to x-y coordinates?)