Skip to content

Commit f6ad035

Browse files
committed
set qdamp and qbroad in example if instrument file not found
1 parent 89e89bb commit f6ad035

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +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+
print("Setting Q_damp and Q_broad to refined values\n")
91+
QDAMP_I = 0.045298
92+
QBROAD_I = 0.016809
9093

9194
# If we want to run using multiprocessors, we can switch this to 'True'.
9295
# This requires that the 'psutil' python package installed.

0 commit comments

Comments
 (0)