Hi all!
I am unsure if this is a bug, but it looks like it…
I am struggling with trying to reproduce a database that I created a couple of years ago with a script. I updated my Brainstorm version by mistake since then, so I am aware that the difference might come from using a different BST version (different filters?).
However, while exploring the difference between the two database (the one generated a couple of years ago, and the one recently generated), I observed a strange thing.
I was trying to reproduce the data step by step for one subject, notably starting by :
- Review raw data
- Filter
- Apply SSP
At each step, I am importing a segment of data to observe difference (or no) with the old database. To do this, I was initially exporting the data into the Matlab workspace and plotting the signals and their differences.
I did not observe differences between the signals until the application of the SSP.
So I tried to export the SSP projectors from my initial database and import it in the second one, and I was still observing differences (although I was just applying the same SSP)..
While I talked to John about the issue, we went back to the BST database and visualize the signal before SSP (after filters) and observe a strange thing (yes, the strange starts here) :
In BST, if I right click on the file -> EEG-> “ Display Time series” both on the old and new files, the signals appear to be different (see snapshot).
However, if I export the file to Matlab (right click -> File -> Export to Matlab) or if I load the variable from its original file (right click -> File -> Show in file explorer ->load in Matlab) and I plot the signals : they are strictly the same!! (see snapshot, command line : figure ; plot(d.F','r') ; hold on; plot(d.F'-s.F','g')) d and s being respectively old and new data)
I am a little confused here, I was expecting to observe exactly the same thing between the BST interface and the matlab plot. (btw, BST Visualization filters are off) Am I missing something?
I would greatly appreciate some help to understand that issue. Please let me know if I can send any other information and/or the data which I am happy to share.
Cheers,
Anne-Sophie
Here is my MATLAB Version: 9.2.0.556344 (R2017a)