Skip to content

Commit

Permalink
more natural location for 3D function
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Jan 2, 2024
1 parent 3551698 commit e4d9c94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
20 changes: 0 additions & 20 deletions py4DSTEM/process/phase/iterative_overlap_tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -1977,23 +1977,3 @@ def positions(self):
positions_all.append(asnumpy(positions))

return np.asarray(positions_all)

def _return_self_consistency_errors(
self,
max_batch_size=None,
):
"""Compute the self-consistency errors for each probe position"""
raise NotImplementedError()

def show_uncertainty_visualization(
self,
errors=None,
max_batch_size=None,
projected_cropped_potential=None,
kde_sigma=None,
plot_histogram=True,
plot_contours=False,
**kwargs,
):
"""Plot uncertainty visualization using self-consistency errors"""
raise NotImplementedError()
7 changes: 7 additions & 0 deletions py4DSTEM/process/phase/iterative_ptychographic_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,13 @@ def show_object_fft(
**kwargs,
)

def _return_self_consistency_errors(
self,
**kwargs,
):
"""Compute the self-consistency errors for each probe position"""
raise NotImplementedError()

@property
def object_supersliced(self):
"""Returns super-sliced object"""
Expand Down

0 comments on commit e4d9c94

Please sign in to comment.