piel.types.metrics#
Classes#
Standard definition for a scalar metrics. It includes the value, mean, min, max, standard deviation and count. |
|
A collection of scalar metrics useful when analyzing multiple aspects of a design. |
Module Contents#
- class ScalarMetric(/, **data: Any)[source]#
Bases:
piel.types.connectivity.abstract.InstanceStandard definition for a scalar metrics. It includes the value, mean, min, max, standard deviation and count.
- value: piel.types.core.NumericalTypes | None = None#
- mean: piel.types.core.NumericalTypes | None = None#
- min: piel.types.core.NumericalTypes | None = None#
- max: piel.types.core.NumericalTypes | None = None#
- standard_deviation: piel.types.core.NumericalTypes | None = None#
- count: piel.types.core.NumericalTypes | None = None#
- unit: piel.types.units.Unit#
- property data#
- property table#
- class ScalarMetricCollection(/, **data: Any)[source]#
Bases:
piel.types.connectivity.abstract.InstanceA collection of scalar metrics useful when analyzing multiple aspects of a design.
- metrics: list[ScalarMetric] = []#
- property data#
- property table#
Composes a full table with the names and all the individual metrics that are part of this collection.
- Returns:
A DataFrame containing all scalar metrics with their respective values.
- Return type:
pd.DataFrame