# Question about the ISRUC-SLEEP dataset

**URL:** <https://mne.discourse.group/t/question-about-the-isruc-sleep-dataset/7753>\
**Category:** Support & Discussions\
**Created:** [October 26, 2023, 5:40pm UTC](https://mne.discourse.group/t/question-about-the-isruc-sleep-dataset/7753 "2023-10-26T17:40:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jogugil](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/jogugil/32/3133_2.png) [@jogugil](https://mne.discourse.group/u/jogugil)\
**Post date:** [October 26, 2023, 5:40pm UTC](https://mne.discourse.group/t/question-about-the-isruc-sleep-dataset/7753/1 "2023-10-26T17:40:51Z")

</div>

**❓ If you have a question or issue with MNE-Python, please include the following info:**

- MNE version: 1.5.1
- operating system: Windows 11
- Python 9

I’m going to do some work on sleep stages and I’m using the ISRUC-SLEEP dataset. Specifically data from Subgroup\_3.

Additionally, I use the mne-python library to load the \*.rec data file (transforming the root to \*.edf).

Loads the data perfectly. But I can’t distinguish the channel types. All channels are assumed to be EEG. Although on the PSG I have EEG, EOG and EMG channels, when I try to use the type selection functions, it does not distinguish the type of channels and assumes that they are all EEG. Therefore I cannot apply other detection and resolution functions for EOG, EMG artifacts…

I would like to know if this is logical or I am doing something wrong.

Ex.  
raw = mne.io.read\_raw\_edf(path, preload = True)  
mne.pick\_types(raw.info,eog = True)  
–output–\> array(, typed=int32)

---

<div class="post-metadata">

**Author:** ![mscheltienne](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mscheltienne/32/827_2.png) [@mscheltienne](https://mne.discourse.group/u/mscheltienne)\
**Post date:** [October 27, 2023, 9:26am UTC](https://mne.discourse.group/t/question-about-the-isruc-sleep-dataset/7753/2 "2023-10-27T09:26:16Z")

</div>

Hello,

You can correct badly set channel types with the `set_channel_types` method:  
[https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Raw.set\_channel\_types](https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Raw.set_channel_types)

Mathieu
