Skip to content

Commit 86d91e8

Browse files
committed
condition that sets qdamp and qbroad if Ni fit is not ran
1 parent 7cb8a66 commit 86d91e8

File tree

1 file changed

+3
-1
lines changed
  • docs/examples/ch03NiModelling/solutions/diffpy-cmi

1 file changed

+3
-1
lines changed

docs/examples/ch03NiModelling/solutions/diffpy-cmi/fitNPPt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@
8787
print("The Ni example refines instrument parameters\n")
8888
print("The instrument parameters are necessary to run this fit\n")
8989
print("Please run the Ni example first\n")
90-
90+
print("Setting Q_damp and Q_broad to the refined values\n")
91+
QDAMP_I = 0.045298
92+
QBROAD_I = 0.016809
9193
# If we want to run using multiprocessors, we can switch this to 'True'.
9294
# This requires that the 'psutil' python package installed.
9395
RUN_PARALLEL = False

0 commit comments

Comments
 (0)