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.

When originally written, the 
G2Project.add_simulated_powder_histogram<https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram>()
 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: 
https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram).

These changes will require a change in the times supplied to 
G2Project.add_simulated_powder_histogram<https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2Project.add_simulated_powder_histogram>
 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.

Brian
_______________________________________________
GSAS-II mailing list
[email protected]
https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii

Reply via email to