Read and morph STC files

Hi!

I’m trying to load a morph stc files.
It seams that mne.read_source_estimate(fname) doesn’t allow to pass right and left hemisphere data. Should I read and morph them separately?
If so, then when I try to save the right and left morphed data, they are stored again in two r/l files each, so I end with 4 files.
How should I deal with it?
Would it be enough to read the two right and left stc files and then morph just one. Or just save one?
Or just use the morphed right hemisphere for the right stc file? Could I do this from the fuction or just delete the others afterwards?

Thanks a lot!

You should be able to pass the “base part” of the filename, without the -lh.stc or -rh.stc. MNE-Python will then try to read the data for both hemispheres from disk.

Best wishes,
Richard

Thanks Richard!!

That’s fantastic. It worked smoothly. Thanks once more for your super fast and helpful responses!!

1 Like