Skip to content

Commit 64a5187

Browse files
committed
removed debugging print statements
1 parent 9d7948b commit 64a5187

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

CodeEntropy/levels/axes.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -347,22 +347,13 @@ def get_residue_custom_axes(self, edges, center):
347347
# get the perpendicular onto E1-O (P-E2)
348348
# P-E2 = P-E1 + E1-E2
349349
perpendicular = E1E2_vector - projection
350-
print(
351-
f"The perpendicular is perpendicular to the projection: "
352-
f"{np.dot(projection, perpendicular)}"
353-
)
354350
# get the perpendicular through O (Q-O)
355351
# first get P-Q diagonal through paralellogram rule
356352
# P- Q = P-E2 + P-O
357353
diagonal = -(projection - E1O_vector) + perpendicular
358354
# get the parallel of P-E2 through O
359355
# OQ = OP + PQ
360356
y_axis = (projection - E1O_vector) + diagonal
361-
print(
362-
f"The y-axis and perpendicular are "
363-
f"parallel: {np.cross(perpendicular, y_axis)}"
364-
)
365-
print(f"The x and y axis are parallel: {np.cross(x_axis, y_axis)}")
366357
z_axis = np.cross(x_axis, y_axis)
367358
x_axis /= np.linalg.norm(x_axis)
368359
y_axis /= np.linalg.norm(y_axis)

0 commit comments

Comments
 (0)