quetzal.model.cubemodel module

class quetzal.model.cubemodel.cubeModel[source]

Bases: object

to_cube(folder, custom_head=<function head_string>, zone_index_to_int=<class 'int'>, node_index_to_int=<class 'int'>)[source]
to_lin(path_or_buf, custom_head=<function head_string>, separate=False, route_type=None, **kwargs)[source]
to_mat(folder, zone_index_to_int=<class 'int'>, volume_column='volume_pt')[source]
to_net(folder, zone_index_to_int=<class 'int'>, node_index_to_int=<class 'int'>, keep_link_columns=[], keep_node_columns=[], keep_zone_columns=[], ntleg_type=10, footpath_type=10, separate=True, road_network=True)[source]

dump all the files that you will need to build a network in the folder

quetzal.model.cubemodel.head_string(links, trip_id)[source]
quetzal.model.cubemodel.lin_string(links, trip_id, custom_head=<function head_string>)[source]
quetzal.model.cubemodel.stop_and_node_string(links, trip_id, road=True)[source]