From 3088be26e87f07807ce60222d22d54b67d6fb32d Mon Sep 17 00:00:00 2001 From: Stephanie Ribet Date: Sun, 1 Sep 2024 13:02:17 -0700 Subject: [PATCH] whoooops...now the error is going down --- py4DSTEM/tomography/tomography.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py4DSTEM/tomography/tomography.py b/py4DSTEM/tomography/tomography.py index 8d3f25ead..a100a0fb6 100644 --- a/py4DSTEM/tomography/tomography.py +++ b/py4DSTEM/tomography/tomography.py @@ -1216,8 +1216,7 @@ def _calculate_update( )[:, None] ) diffraction_patterns_resampled = diffraction_patterns_resampled[ind] - update = diffraction_patterns_resampled - # - object_sliced + update = diffraction_patterns_resampled - object_sliced error = xp.mean(update.ravel() ** 2) / xp.mean( diffraction_patterns_projected.ravel() ** 2