<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">I would like to alert people using GSAS-II scripting to a change in the API that may require changes to scripts. This will only affect people who use scripting to simulate TOF patterns. </div>
<div class=""><br class="">
</div>
When originally written, the <a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram" class="">G2Project.add_simulated_powder_histogram</a>() was intended to take as input TOF times in
 milliseconds. Due to a bug it was actually using times in microseconds. It was also computing TOF patterns on linear grid rather than on a log grid and was using the time-step incorrectly. I have corrected all this and updated the function documentation (found
 here: <a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram" class="">https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram</a>). 
<div class=""><br class="">
</div>
<div class="">These changes will require a change in the times supplied to <a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram" class="">G2Project.add_simulated_powder_histogram</a> in any
 scripts used to simulate TOF patterns for those scripts to run after an update to version 4469 or later. I am sorry for this. </div>
<div class=""><br class="">
</div>
<div class="">Brian</div>
</body>
</html>