# How to string codified epochs

**URL:** <https://mne.discourse.group/t/how-to-string-codified-epochs/4716>\
**Category:** Support & Discussions\
**Tags:** epochs\
**Created:** [April 15, 2022, 3:18pm UTC](https://mne.discourse.group/t/how-to-string-codified-epochs/4716 "2022-04-15T15:18:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![balandongiv](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/balandongiv/32/104_2.png) [@balandongiv](https://mne.discourse.group/u/balandongiv)\
**Post date:** [April 15, 2022, 3:26pm UTC](https://mne.discourse.group/t/how-to-string-codified-epochs/4716/2 "2022-04-15T15:26:16Z")

</div>

Ahaa, It is simply

```python
event_ids ={'r0': 0, 'r1': 1,'r2': 2}
epochs.event_id=event_ids

```

---

_[View the full topic](https://mne.discourse.group/t/how-to-string-codified-epochs/4716)._
