VanGravityModelResults#

class caf.van.lgv_model.VanGravityModelResults(distribution, zones, info)[source]#

Results from a run of the gravity model.

Parameters:
  • distribution (pandas.core.frame.DataFrame) – Matrix containing the final distribution of trips, will have same number of columns and rows equal to the number of zones.

  • zones (numpy.ndarray) – List of all the zones contained within the matrix, the order is the same as in the matrix.

  • info (dict[str | int, caf.distribute.gravity_model.core.GravityModelResults]) – Gravity model results for each area.

Attributes

Methods

__init__(distribution, zones, info)

Attributes Documentation