caf.mat.matrices#

Handling the PA and OD matrix files.

Classes

Iterator()

LongMatrices(segmentation_, zoning, type_, *)

Store multiple matrices in a single long DataFrame.

MatricesBase(segmentation_, zoning, type_)

Abstract base class for handling matrices split by segmentation.

Matrix(data, slice)

In-memory matrix.

MatrixFiles(segmentation_, zoning, type_, ...)

Handle matrices stored as CSVs in a single folder.

MatrixType(value)

Type of matrix.

MemoryMatrices(segmentation_, zoning, type_)

Stores matrices in-memory, in a dictionary.

Exceptions

MatricesWarning

Warning for matrix functionality.

PAError

Error with PA matrices or PA to OD conversion.