We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2987ac9 commit 858f114Copy full SHA for 858f114
src/aspire/utils/bot_align.py
@@ -11,7 +11,6 @@
11
from numpy.linalg import norm
12
from scipy.optimize import minimize
13
14
-from aspire.operators import wemd_embed
15
from aspire.utils.rotation import Rotation
16
17
# Store parameters specific to each loss_type.
@@ -64,6 +63,9 @@ def align_BO(
64
63
Default `None` infers dtype from `vol_ref`.
65
:return: Rotation matrix R_init (without refinement) or (R_init, R_est) (with refinement).
66
"""
+ # Avoid utils/operators/utils circular import
67
+ from aspire.operators import wemd_embed
68
+
69
# Infer dtype
70
dtype = np.dtype(dtype or vol_ref.dtype)
71
0 commit comments