.. currentmodule:: algo.fusion


Trajectory Segment Aggregation
===============================

**algo.fusion module**

This module provides functions aimed at producing the best geometric 
representation of network edges from a topological skeleton.

It includes a main function that orchestrates the aggregation of track 
segments assigned to skeleton edges with topology, as well as a secondary 
function that performs track segment merging using the tracklib library.


.. autosummary::
   :nosignatures:

   aggregate_track_segments_by_edge
   aggregate_track_segments_on_edge




Aggregate by edge
-------------------

.. currentmodule:: algo.fusion

.. autofunction:: aggregate_track_segments_by_edge



Aggregate track segments for an edge
--------------------------------------

.. currentmodule:: algo.fusion

.. autofunction:: aggregate_track_segments_on_edge

