osmose.engine.accessibility

Stage-indexed accessibility matrix for predation.

Parses the OSMOSE accessibility CSV where row/column labels encode species name and optional age thresholds (e.g., “cod < 0.4”). Provides fast lookup of matrix indices for each school based on species identity and age.

Classes

AccessibilityMatrix(raw_matrix[, ...])

Stage-indexed predation accessibility matrix.

StageInfo(threshold, matrix_index)

Threshold and matrix index for one stage of a species.