From 23b434d86bb8c4654d71aae7958b5bdc57553b18 Mon Sep 17 00:00:00 2001 From: lucas-wilkins Date: Sat, 9 Sep 2023 13:03:38 +0100 Subject: [PATCH] Typo --- .../qtgui/Utilities/OrientationViewer/OrientationViewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sas/qtgui/Utilities/OrientationViewer/OrientationViewer.py b/src/sas/qtgui/Utilities/OrientationViewer/OrientationViewer.py index 130f7a23a8..54437ca983 100644 --- a/src/sas/qtgui/Utilities/OrientationViewer/OrientationViewer.py +++ b/src/sas/qtgui/Utilities/OrientationViewer/OrientationViewer.py @@ -171,7 +171,7 @@ def colormap(self, colormap_name: str): def _set_image_data(self, orientation: Orientation): """ Set the data on the plot""" - data = self.scatering_data(orientation) + data = self.scattering_data(orientation) scaled_data = (np.log(data) - OrientationViewer.log_I_min) / OrientationViewer.log_I_range self.image_plane_data = np.clip(scaled_data, 0, 1) @@ -253,7 +253,7 @@ def polydispersity_sample_count(self, orientation): return (samples * x for x in is_polydisperse) - def scatering_data(self, orientation: Orientation) -> np.ndarray: + def scattering_data(self, orientation: Orientation) -> np.ndarray: # add the orientation parameters to the model parameters