diff --git a/src/mlpro/bf/math/geometry/__init__.py b/src/mlpro/bf/math/geometry/__init__.py index ee58d7116..f005cf582 100644 --- a/src/mlpro/bf/math/geometry/__init__.py +++ b/src/mlpro/bf/math/geometry/__init__.py @@ -1,3 +1,3 @@ from mlpro.bf.math.geometry.basics import cprop_size_geo, cprop_size_geo1, cprop_size_geo2 from mlpro.bf.math.geometry.point import Point, cprop_point, cprop_point1, cprop_point2, cprop_center_geo, cprop_center_geo1, cprop_center_geo2 -from mlpro.bf.math.geometry.hypercuboid import Hypercuboid, cprop_hypercuboid \ No newline at end of file +from mlpro.bf.math.geometry.hypercuboid import Hypercuboid, cprop_hypercuboid, cprop_hypercuboid_prev \ No newline at end of file diff --git a/src/mlpro/bf/math/geometry/hypercuboid.py b/src/mlpro/bf/math/geometry/hypercuboid.py index 8c748c6e2..2a2d32bb9 100644 --- a/src/mlpro/bf/math/geometry/hypercuboid.py +++ b/src/mlpro/bf/math/geometry/hypercuboid.py @@ -360,4 +360,5 @@ def renormalize(self, p_normalizer: Normalizer): -cprop_hypercuboid : PropertyDefinition = ( 'hypercuboid', 0, False, Hypercuboid ) +cprop_hypercuboid : PropertyDefinition = ( 'hypercuboid', 0, False, Hypercuboid ) +cprop_hypercuboid_prev : PropertyDefinition = ( 'hypercuboid', 0, True, Hypercuboid ) \ No newline at end of file diff --git a/src/mlpro/oa/streams/tasks/clusteranalyzers/clusters/properties/centroid.py b/src/mlpro/oa/streams/tasks/clusteranalyzers/clusters/properties/centroid.py index bc6ac8b20..7c02ab3f4 100644 --- a/src/mlpro/oa/streams/tasks/clusteranalyzers/clusters/properties/centroid.py +++ b/src/mlpro/oa/streams/tasks/clusteranalyzers/clusters/properties/centroid.py @@ -309,15 +309,15 @@ def _remove_plot_3d(self): # Centroid with 0,1,2 order derivatives and plot functionality with/without storing previous values -cprop_centroid : PropertyDefinition = ( 'centroid', 0, False, Centroid ) -cprop_centroid1 : PropertyDefinition = ( 'centroid', 1, False, Centroid ) -cprop_centroid2 : PropertyDefinition = ( 'centroid', 2, False, Centroid ) +cprop_centroid : PropertyDefinition = ( 'centroid', 0, False, Centroid ) +cprop_centroid1 : PropertyDefinition = ( 'centroid', 1, False, Centroid ) +cprop_centroid2 : PropertyDefinition = ( 'centroid', 2, False, Centroid ) -cprop_centroid_prev : PropertyDefinition = ( 'centroid', 0, True, Centroid ) -cprop_centroid_prev1 : PropertyDefinition = ( 'centroid', 1, True, Centroid ) -cprop_centroid_prev2 : PropertyDefinition = ( 'centroid', 2, True, Centroid ) +cprop_centroid_prev : PropertyDefinition = ( 'centroid', 0, True, Centroid ) +cprop_centroid_prev1 : PropertyDefinition = ( 'centroid', 1, True, Centroid ) +cprop_centroid_prev2 : PropertyDefinition = ( 'centroid', 2, True, Centroid ) # Geometric center with 0,1,2 order derivatives and plot functionality -cprop_center_geo : PropertyDefinition = ( 'center_geo', 0, False, Centroid ) -cprop_center_geo1 : PropertyDefinition = ( 'center_geo', 1, False, Centroid ) -cprop_center_geo2 : PropertyDefinition = ( 'center_geo', 2, False, Centroid ) \ No newline at end of file +cprop_center_geo : PropertyDefinition = ( 'center_geo', 0, False, Centroid ) +cprop_center_geo1 : PropertyDefinition = ( 'center_geo', 1, False, Centroid ) +cprop_center_geo2 : PropertyDefinition = ( 'center_geo', 2, False, Centroid ) \ No newline at end of file