Exclusion#

class caf.base.segments.Exclusion(other_name, exclusions)[source]#

Bases: object

Class to define exclusions between segments.

Parameters:
  • other_name (str) – Name of the other segment this exclusion applies to

  • exclusions (int) – The value for self segmentation which has exclusions in other

Attributes

Methods

__init__(*args, **kwargs)

build_index()

Return an index formed of the exclusions.

Attributes Documentation

other_name: str[source]#
exclusions: dict[int, set[int]][source]#