Hey guys
I hope youre all well
My name is Julian and I am attempting a BCI project for my undergrad final major project in robotics.
I have been given an ADinstruments Powerlab system as my EEG device, this only interfaces with a program called labchart, which only exports .adicht files
This file is not supported by MNE, However, I found an SDK that converts the .adicht file to a NumPy array, and as MNE is built on NumPy, I figured there must be way to use MNE as normal using this generated NumPy array.
I followed the tutorial for Creating MNE-Python data structures from scratch
Unfortunately, MNE comprehends the Array as such :
When using matplotlib on the array straight from the SDK it looks like this :
These signals were taken very quickly as I just needed to get an .adicht file so i could figure out interfacing it with MNE, dont worry about how wrong they look, the matplot representation is ‘correct’, as in it was how they appeared on the Labchart software.
I hope that I am just doing something wrong, although I fear that the format of the numpy array from the SDK just wont be interpretable by MNE.
Here are as much details as I can think to give, hopefully somebody can spot a fault or suggest a possible solution, any help would be greatly appreciated
I am a new user, cannot embed more than 3 images or share more than 5 links, so apologies for the broken imgur links, Id advise tpying the imgur part, and copying the rest
The SDK captures the channels from the .adicht file individually
imgur. com/s5rdt1B
Printing the Array looks like this, the NumPy shape is (14850,)
imgur. com/PxIVaCX
In the turorial, they build the array using np.array :
imgur. com/Ecysy6M
so although the data I have is already an array, I attempted this
imgur. com/bw3HfhU
When matplot’ing the data, it looks like this :
imgur. com/XfJnZhD
and the MNE plot looks like this :
imgur. com/xLI1RBX
As the data is already in array format, I figured i could just assign it straight to the data variable in
simulated_raw = mne.io.RawArray(data, info)
However my EEG data is in two seperate arrays.
When i try to concatenate these arrays into one, i get the following error :
imgur. com/W5kkUDx
So im not sure where to go from here, I need to find a way to convert these two Arrays to a single one, or find another way to get the .adicht arrays to work with MNE.
Ive already spent 2 months learning everything I need to know about BCI, EEG, signal processing and classification, Im confident about it all, but if this doesnt work out, ill be at a dead end, with too little time till my submission to start a new project from scratch.
Any help would be greatly appreicated, and im happy to provide any further details
Kind regards,
Julian