- 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,
Reza
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,
Reza
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,
Richard
Did you create a function for doing this? I’d like to do something similar and I was wondering if you could share the way you implemented the function,
Thanks,
Sara