Adding SEEG model

Hi,

I am doing SEEG data analysis recently with Brainstorm. Could you please help me add new SEEG electrode models?

It's a Chinese brand called Huake-Hengsheng. Below are the details for each type of the electrode.

model name-- {num of contacts}--{contact spacing}--{contact length}--{contact diameter}--{electrode diameter}--{electrode length}
SDE-08-S8 8 3.5 2 0.8 0.8 26.5
SDE-08-S10 10 3.5 2 0.8 0.8 33.5
SDE-08-S12 12 3.5 2 0.8 0.8 40.5
SDE-08-S14 14 3.5 2 0.8 0.8 47.5
SDE-08-S16 16 3.5 2 0.8 0.8 54.5

Thanks a lot!
Jie

1 Like

Hi Jie,

I added them in the default list of electrode models:
https://github.com/brainstorm-tools/brainstorm3/commit/3052db52958934f627a1aeba7e508fb401148510#diff-5d03d3ef5441acf005318a4a8bd366b4
Does it work as expected?

We really need to find a better way to manage new electrode models, using separate text files, so that users can easily submit/write their own models… Will do this at some point :slight_smile:

Cheers
Francois

1 Like

Hi Francois, have there been any developments in submitting or writing own models? I made some custom data for PWC electrodes and am trying to transfer that information over to a colleague's computer. Having trouble finding where those data are stored.

Thanks,
Josh

No there hasn't been any update on this, sorry.
The easier solution so far is to create again the models on your colleague's computer...

If you really want to do it automatically, you can start Brainstorm on your computer, save the structure GlobalData.Preferences.IntraElectrodeModels to a .mat file, something like:

global GlobalData;
A = GlobalData.Preferences.IntraElectrodeModels;
save('test.mat', '-struct', 'A');

On the other computer, start Brainstorm and override this internal structure:

global GlobalData;
GlobalData.Preferences.IntraElectrodeModels = load('test.mat', A);

Use at your own risk...

Thank you, Francois!

Regards,
Josh