From c2c228f603d726caacecd4da95f281fbe4e9236b Mon Sep 17 00:00:00 2001 From: Steven Zeltmann Date: Wed, 25 Sep 2024 13:39:28 -0400 Subject: [PATCH] fix units for manual tcBF rotation --- src/py4D_browser/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py4D_browser/dialogs.py b/src/py4D_browser/dialogs.py index 90ab194..58694a2 100644 --- a/src/py4D_browser/dialogs.py +++ b/src/py4D_browser/dialogs.py @@ -375,7 +375,7 @@ def reconstruct(self): self.parent.statusBar().showMessage("Max Shift must be specified") return - rotation = float(self.rotation_box.text() or 0.0) + rotation = np.radians(float(self.rotation_box.text() or 0.0)) transpose = self.transpose_box.checkState() max_shift = float(self.max_shift_box.text())