Skip to content

Commit

Permalink
OA: Design updates on cluster analysis #1015
Browse files Browse the repository at this point in the history
  • Loading branch information
detlefarend committed Jul 24, 2024
1 parent a522d96 commit 3499b64
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/mlpro/bf/math/geometry/__init__.py
Original file line number Diff line number Diff line change
@@ -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
from mlpro.bf.math.geometry.hypercuboid import Hypercuboid, cprop_hypercuboid, cprop_hypercuboid_prev
3 changes: 2 additions & 1 deletion src/mlpro/bf/math/geometry/hypercuboid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
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 )

0 comments on commit 3499b64

Please sign in to comment.