# Source localization with only resting state EEG data

**URL:** <https://mne.discourse.group/t/source-localization-with-only-resting-state-eeg-data/3103>\
**Category:** Support & Discussions\
**Created:** [May 6, 2021, 8:05pm UTC](https://mne.discourse.group/t/source-localization-with-only-resting-state-eeg-data/3103 "2021-05-06T20:05:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyuwanchoi](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kyuwanchoi](https://mne.discourse.group/u/kyuwanchoi)\
**Post date:** [May 6, 2021, 8:05pm UTC](https://mne.discourse.group/t/source-localization-with-only-resting-state-eeg-data/3103/1 "2021-05-06T20:05:00Z")

</div>

Hey! MNE users,

I have only raw EEG data (for example, edf file). I do not have positioning device to measure x,y,z positon of each EEG sensor (ex, polmus) and I also do not have structural MRI.

If I only measured resting state EEG data for 5 min, in this case I do not have events. With only raw EEG data, is it possible to do source localization with MNE. On brain map, I would like to plot which area is activated. About this application, do you have any example python code?

Best,  
Kyu

---

<div class="post-metadata">

**Author:** ![drammock](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/drammock/32/4_2.png) [@drammock](https://mne.discourse.group/u/drammock)\
**Post date:** [May 7, 2021, 4:02pm UTC](https://mne.discourse.group/t/source-localization-with-only-resting-state-eeg-data/3103/2 "2021-05-07T16:02:26Z")

</div>

The answer is given already in [your other recent question](https://mne.discourse.group/t/source-localization-with-mne-combining-sensor-location-and-smri/3089/5): there is a tutorial on [using template MRIs for source localization](https://mne.tools/stable/auto_tutorials/forward/35_eeg_no_mri.html).
