myogen.simulator.SurfaceElectrodeArray.num_channels#

property SurfaceElectrodeArray.num_channels: int#

Number of recording channels based on differentiation mode.

Returns:

Number of recording channels. Depends on differentiation_mode: - "monopolar": num_rows * num_cols - "bipolar_longitudinal": (num_rows - 1) * num_cols - "bipolar_transversal": num_rows * (num_cols - 1) - "laplacian": (num_rows - 2) * (num_cols - 2)

Return type:

int

Raises:

AttributeError – If channel count has not been calculated. Run constructor first.