m3resp.MultimodalPreset#
- class m3resp.MultimodalPreset[source]#
Set recording start times and align detected breaths across modalities.
Runs
session.synchronize_raw_modalitiesfollowed bysession.synchronize_multimodal_breaths. Run after processing each modality so the breath events are available.- Variables:
name (str) – Registered preset name,
"multimodal".
Methods
Set recording start times and store aligned breath events.
Attributes
- run(session, *, config=None)[source]#
Set recording start times and store aligned breath events.
- Parameters:
session (M3Session) – Session with recordings and detected breaths to synchronize.
config (PresetConfig | None) – Keyword arguments for the session methods, grouped under
synchronize_rawandalign. Offsets are in seconds; None uses the session methods’ defaults.
- Returns:
- The supplied session with start times, synchronization
methods, aligned events and provenance.
- Return type: