Hi @roc,
You are correct that write_raw_bids
expects a BaseRaw
instance. This is because (as far as I know), to be BIDS compliant the data need to be in its continuous form. Saving an Epochs
object would fall under writing a BIDS derivative. MNE-BIDS doesn’t support this yet but there is interest in extending support for writing derivatives.