<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am trying to use GSASIIscriptable to simulate neutron TOF pattern, following the tutorial Part C at <a href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/Scripting.htm" class="">https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/Scripting.htm</a></div><div class=""><br class=""></div><div class="">But the program is stuck at the running step as following. `gpx.do_refinements([{}])` never finishes I think. What is the proper way to do it?</div><div class=""><br class=""></div><div class="">gpx.data['Controls']['data']['max cyc'] = 0 # refinement not needed<br class="">gpx.do_refinements([{}])<br class="">gpx.save()</div><div class=""><br class="">
Thanks!</div><div class=""><br class=""></div><div class="">Long Yang</div><div class="">Columbia University</div></body></html>