m3resp.EITPreset#

class m3resp.EITPreset[source]#

Preprocess loaded EIT data and store its detected breaths.

Runs session.preprocess_eit followed by session.detect_eit_breaths. The default EIT adapter also computes breath-related results during preprocessing, according to the selected options.

Variables:

name (str) – Registered preset name, "eit".

Methods

run

Preprocess EIT data and store detected breaths on the session.

Attributes

name: str = 'eit'#
run(session, *, config=None)[source]#

Preprocess EIT data and store detected breaths on the session.

Parameters:
  • session (M3Session) – Session with EIT data already loaded.

  • config (PresetConfig | None) – Keyword arguments grouped under preprocess and detect_breaths. None uses the session methods’ defaults.

Returns:

The supplied session with EIT processing results, breath

events and provenance.

Return type:

M3Session

Raises:

MissingModalityDataError – If the required EIT recording is unavailable.