Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Nov 10, 2023
1 parent 1a00dd1 commit dfa7546
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions py4DSTEM/process/phase/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@ def evaluate_chi(
)
)

if any(
p[symbol] != 0.0 for symbol in ("C30", "C32", "phi32", "C34", "phi34")
):
if any(p[symbol] != 0.0 for symbol in ("C30", "C32", "phi32", "C34", "phi34")):
array += (
1
/ 4
Expand All @@ -327,7 +325,7 @@ def evaluate_chi(

if any(
p[symbol] != 0.0
for symbol in ("C41", "phi41", "C43", "phi43", "C45", "phi41")
for symbol in ("C41", "phi41", "C43", "phi43", "C45", "phi41")
):
array += (
1
Expand All @@ -343,7 +341,7 @@ def evaluate_chi(

if any(
p[symbol] != 0.0
for symbol in ("C50", "C52", "phi52", "C54", "phi54", "C56", "phi56")
for symbol in ("C50", "C52", "phi52", "C54", "phi54", "C56", "phi56")
):
array += (
1
Expand Down

0 comments on commit dfa7546

Please sign in to comment.