Using a separate condition as baseline (e.g., a rest baseline)

  • MNE-Python version: 0.24.0
  • operating system: Windows

Hello, I would like to use a separate condition as a baseline (e.g., a resting state) not using a pre-stimulus baseline. Would it be possible? If so, how?

Thank you in advance,

Hello @rsaeed and welcome to the forum!

The baseline parameter on Epochs instantiation and the Epochs.apply_baseline() methods don’t allow for this. However, you can apply a function to each channel in each epoch individually by using Epochs.apply_function(). You should be able to use this to apply custom transformations to your epochs.

Feel free to ask again if you get stuck.

Best wishes,

1 Like