# epoching on epoched data

**URL:** <https://mne.discourse.group/t/epoching-on-epoched-data/3638>\
**Category:** Support & Discussions\
**Tags:** eeg, epochs, autoreject\
**Created:** [September 2, 2021, 3:58am UTC](https://mne.discourse.group/t/epoching-on-epoched-data/3638 "2021-09-02T03:58:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [September 3, 2021, 7:33pm UTC](https://mne.discourse.group/t/epoching-on-epoched-data/3638/5 "2021-09-03T19:33:41Z")

</div>

ooh, that’s even better than what I came up with. @apoorva6262 and I discussed this during office hours today and I suggested

```python
data = epochs.get_data()
pseudo_raw_data = np.hstack(data)
pseudo_raw = mne.io.RawArray(pseudo_raw_data, epochs.info)
new_epochs = mne.make_fixed_length_epochs(pseudo_raw, duration=1.)

```

---

_[View the full topic](https://mne.discourse.group/t/epoching-on-epoched-data/3638)._
