Skip to content

Commit

Permalink
Removing the extra factor of 2/pi
Browse files Browse the repository at this point in the history
  • Loading branch information
cophus committed Nov 20, 2023
1 parent 1ecb8be commit d823606
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion py4DSTEM/process/polar/polar_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ def calculate_pair_dist_function(
if density is not None:
pdf = pdf_reduced.copy()
pdf[1:] /= 4 * np.pi * density * r[1:] * (r[1] - r[0])
pdf *= 2 / np.pi
pdf += 1

# damp and clip values below zero
Expand Down

0 comments on commit d823606

Please sign in to comment.