Aux method.
(self, raw, include, exclude, event_id, picks)
| 458 | return out |
| 459 | |
| 460 | def _apply_raw(self, raw, include, exclude, event_id, picks): |
| 461 | """Aux method.""" |
| 462 | if not raw.preload: |
| 463 | raise ValueError("Raw data must be preloaded to apply Xdawn") |
| 464 | |
| 465 | raws = dict() |
| 466 | for eid in event_id: |
| 467 | data = raw[picks, :][0] |
| 468 | |
| 469 | data = self._pick_sources(data, include, exclude, eid) |
| 470 | |
| 471 | raw_r = raw.copy() |
| 472 | |
| 473 | raw_r[picks, :] = data |
| 474 | raws[eid] = raw_r |
| 475 | return raws |
| 476 | |
| 477 | def _apply_epochs(self, epochs, include, exclude, event_id, picks): |
| 478 | """Aux method.""" |
no test coverage detected