# Read and morph STC files

**URL:** <https://mne.discourse.group/t/read-and-morph-stc-files/9278>\
**Category:** Support & Discussions\
**Tags:** ﻿source-localization\
**Created:** [September 4, 2024, 2:08pm UTC](https://mne.discourse.group/t/read-and-morph-stc-files/9278 "2024-09-04T14:08:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guiomar](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@guiomar](https://mne.discourse.group/u/guiomar)\
**Post date:** [September 4, 2024, 2:08pm UTC](https://mne.discourse.group/t/read-and-morph-stc-files/9278/1 "2024-09-04T14:08:29Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [September 4, 2024, 2:44pm UTC](https://mne.discourse.group/t/read-and-morph-stc-files/9278/2 "2024-09-04T14:44:53Z")

</div>

> [@guiomar](#):
>
> 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?

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

---

<div class="post-metadata">

**Author:** ![guiomar](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@guiomar](https://mne.discourse.group/u/guiomar)\
**Post date:** [September 4, 2024, 4:03pm UTC](https://mne.discourse.group/t/read-and-morph-stc-files/9278/3 "2024-09-04T16:03:56Z")

</div>

Thanks Richard!!

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [September 11, 2024, 4:04pm UTC](https://mne.discourse.group/t/read-and-morph-stc-files/9278/4 "2024-09-11T16:04:15Z")

</div>

Closed on September 11, 2024, 4:04pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
