Skip to content

Commit

Permalink
fixed multislice unit test where we need extra parameters (probe FOV,…
Browse files Browse the repository at this point in the history
… multislice prop distance, wavelength)
  • Loading branch information
Ashish Tripathi committed Jul 31, 2024
1 parent a736262 commit 5c403b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/operators/test_multislice.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ def setUp(self, depth=7, pw=15, nscan=27):
self.operator = Multislice(
nscan=self.scan_shape[-2],
probe_shape=self.probe_shape[-1],
probe_wavelength = 1e-10,
probe_FOV_lengths = (1e-5, 1e-5),
detector_shape=self.detector_shape[-1],
nz=self.original_shape[-2],
n=self.original_shape[-1],
multislice_propagation_distance = 1e-8,
)
self.operator.__enter__()
self.xp = self.operator.xp
Expand Down

0 comments on commit 5c403b3

Please sign in to comment.