Complexity¶
Methods¶
- octa.measurements.Complexity.CalculateElementsN(self)¶
Calculate how many elements are present in the display.
- Returns
N
- Return type
int
- octa.measurements.Complexity.CalculateElementsLOC(self, distinction_features=['shapes', 'boundingboxes', 'fillcolors', 'orientations', 'data'])¶
Calculate how many different features are present across all dimensions.
- Parameters
distinction_features (list) – Feature dimensions that will be taken into account. Default is [‘shapes’, ‘boundingboxes’, ‘fillcolors’, ‘orientations’, ‘data’]
- Returns
LOC
- Return type
int
- octa.measurements.Complexity.CalculateElementsLOCE(self, distinction_features=['shapes', 'boundingboxes', 'fillcolors', 'orientations', 'data'])¶
Calculate how many different types of elements are present in the display based on the feature dimensions specified in distinction_features.
- Parameters
distinction_features (list) – Feature dimensions that will be inspected to decide if two elements are the same. Default is [‘shapes’, ‘boundingboxes’, ‘fillcolors’, ‘orientations’, ‘data’]
- Returns
LOCE
- Return type
int
- octa.measurements.Complexity.CalculateElementsLOCI(self, distinction_features=['shapes', 'boundingboxes', 'fillcolors', 'orientations', 'data'])¶
Calculate how many different feature dimensions have more than one feature value (i.e., have non-identical values).
- Parameters
distinction_features (list) – Feature dimensions that will be taken into account. Default is [‘shapes’, ‘boundingboxes’, ‘fillcolors’, ‘orientations’, ‘data’]
- Returns
LOCI
- Return type
int