aequilibrae.utils package¶
Submodules¶
aequilibrae.utils.create_delaunay_network module¶
- class aequilibrae.utils.create_delaunay_network.DelaunayAnalysis¶
Bases:
object- __init__()¶
- create_network(source='zones', overwrite=False)¶
Creates a delaunay network based on the existing model
- Args:
source (
str, Optional): Source of the centroids/zones. Defaults to zones, but can be network overwrite path (bool, Optional): Whether we should overwrite am existing Delaunay Network. Defaults to False
- assign_matrix(matrix: aequilibrae.matrix.aequilibrae_matrix.AequilibraeMatrix, result_name: str)¶
aequilibrae.utils.create_example module¶
- aequilibrae.utils.create_example.create_example(path: str, from_model='sioux_falls') aequilibrae.project.project.Project¶
Copies an example model to a new project project and returns the project handle
- Args:
path (
str): Path where to create a new model. must be a non-existing folder/directory. from_model path (str, Optional): Example to create from sioux_falls or nauru. Defaults to sioux_falls- Returns:
project (
Project): Aequilibrae Project handle (open)
aequilibrae.utils.worker_thread module¶
Original Author: UNKNOWN. COPIED FROM STACKOVERFLOW BUT CAN’T REMEMBER EXACTLY WHERE