6.2.1. aequilibrae.Parameters

class aequilibrae.Parameters

Bases: object

Global parameters module

Parameters are used in many procedures, and are often defined only in the parameters.yml file ONLY Parameters are organized in the following groups:

  • assignment

  • distribution

  • system
    • cpus: Maximum threads to be used in any procedure

    • default_directory: If is the directory QGIS file opening/saving dialogs will try to open as standard

    • driving side: For purposes of plotting on QGIS

    • logging: Level of logging to be written to temp/aequilibrae.log: Levels are those from the Python logging library
      • 0: ‘NOTSET’

      • 10: ‘DEBUG’

      • 20: ‘INFO’

      • 30: ‘WARNING’

      • 40: ‘ERROR’

      • 50: ‘CRITICAL’

  • report zeros

  • temp directory

__init__()

Loads parameters from file. The place is always the same. The root of the package

Methods

__init__()

Loads parameters from file.

restore_default()

Restores parameters to generic default

write_back()

Writes the parameters back to file

__init__()

Loads parameters from file. The place is always the same. The root of the package