caf.mat.direction.od_to_pa#

OD to PA conversion functionality.

Functions

balance_fh_th_by_op(fh, th, tps, seed_val)

Balance fh and th, conserving all but the final time period.

balance_fh_th_conserve_24hr(fh, th)

Balance fh and th to each other, conserving the 24hr total.

disaggregate_postme(postme_folder, ...[, ...])

Disaggregate postME highway matrices to match synthetic segmentation.

main(parameters)

Run OD to PA conversion process.

nhb_proportions(input_, params, output, ...)

Calculate 24hr NHB and return proportions.

od_to_pa(input_, output, balancing_method, ...)

Convert OD matrices to PA and generate tour proportions.

Classes

OD2PAParameters(*, zone_system, ...[, ...])

Define parameters for OD to PA conversion process.

Sequence()

All the operations on a read-only sequence.

TypeVar(name, *constraints[, bound, ...])

Type variable.