Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Dec 16, 2024
1 parent 9aff29b commit 6f01e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoarray/dataset/imaging/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def apply_noise_scaling(
data = np.where(np.invert(mask), 0.0, self.data.native)
elif data_noise_sigma is not None:
random_noise = np.random.normal(
loc=data_noise_mean, scale=data_noise_sigma, size=data.shape_native
loc=data_noise_mean, scale=data_noise_sigma, size=self.data.shape_native
)
data = np.where(mask_2d, random_noise, data.native)

Expand Down

0 comments on commit 6f01e62

Please sign in to comment.