Segmentation.aggregate#

Segmentation.aggregate(new_segs)[source]#

Aggregate segmentation to a subset of the segmentation.

This method isn’t exactly an aggregation, it just removes segments. It is called aggregate as currently it is the segmentation component of the aggregate method in DVector.

Parameters:
  • new_segs (The new segmentation. All must be in the current segmentation. The order these are)

  • Segmentation. (given in determine the naming order of the returned)