Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Dec 7, 2024
1 parent b1f6141 commit 3a610e7
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions py4DSTEM/tomography/tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ def reconstruct(
self._object[x_index, yy, zz] += update_r_summed

elif distributed is True and self._device == "cpu":
# obj = self._object
num_jobs = num_jobs or cpu_count() // threads_per_job

def f(args):
Expand Down Expand Up @@ -403,28 +402,6 @@ def f(args):
else:
raise ValueError(("distributed not implemented for put"))

# object_sliced = self._forward(
# x_index=a2,
# tilt_deg=self._tilt_deg[a1_shuffle],
# num_points=num_points,
# )

# update, error = self._calculate_update(
# object_sliced=object_sliced,
# diffraction_patterns_projected=diffraction_patterns_projected,
# x_index=a2,
# datacube_number=a1_shuffle,
# )

# error_iteration += error

# update *= step_size
# self._back(
# num_points=num_points,
# x_index=a2,
# update=update,
# )

self._constraints(
zero_edges=zero_edges,
baseline_thresh=baseline_thresh,
Expand Down

0 comments on commit 3a610e7

Please sign in to comment.