Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-wilkins committed Sep 9, 2023
1 parent 483a8f8 commit 23b434d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 23b434d

Please sign in to comment.