aequilibrae.utils package¶
Submodules¶
aequilibrae.utils.create_delaunay_network module¶
- class aequilibrae.utils.create_delaunay_network.DelaunayAnalysis(project)¶
Bases:
object- __init__(project)¶
Start a Delaunay analysis
- Args:
project (
Project): The Project to connect to
- create_network(source='zones', overwrite=False)¶
Creates a delaunay network based on the existing model
- Args:
source (
str, optional): Source of the centroids/zones. Eitherzonesornetwork. Defaultzonesoverwrite path (
bool, optional): Whether to should overwrite an existing Delaunay Network. DefaultFalse
- assign_matrix(matrix: AequilibraeMatrix, result_name: str)¶
aequilibrae.utils.create_example module¶
- aequilibrae.utils.create_example.create_example(path: str, from_model='sioux_falls') 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