<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
.x_MsoChpDefault
        {}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="blue" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">A good idea � implemented for GUI case of making simulated data; max cycles = 0</p>
<p class="x_MsoNormal">Bob</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal" style="border:none; padding:0in"><b>From: </b><a href="mailto:gsas-ii@aps.anl.gov">Ivo Alxneit via GSAS-II</a><br>
<b>Sent: </b>Monday, June 24, 2019 9:04 AM<br>
<b>To: </b><a href="mailto:gsas-ii@aps.anl.gov">gsas-ii@aps.anl.gov</a><br>
<b>Subject: </b>[GSAS-II] "Fix" to simulated pattern</p>
</div>
<p class="x_MsoNormal"> </p>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear all<br>
<br>
I just noticed in scriptable that when you simulate a powder pattern<br>
some sort of refinement takes place even though this should not be<br>
needed. You can actually also "see" this in the GUI. This comes from the<br>
defaults: "Analytical Hessian" with a maximum of three cycles. As I was<br>
simulating thousands of patterns I spent quite a bit of time doing<br>
unnecessary work.<br>
<br>
So, my suggestion is to add<br>
<br>
self.set_Controls('cycles', 0)<br>
<br>
to add_simulated_powder_histogram() in GSASIIscriptable.py (and probably<br>
to the appropriate place in the GUI too) to prevent any iteration for<br>
simulated pattern.<br>
<br>
gruss ivo<br>
-- <br>
Dr. Ivo Alxneit<br>
Catalysis for Energy Group<br>
Bioenergy and Catalysis Laboratory phone: +41 56 310 4092<br>
Paul Scherrer Institute fax: +41 56 310 2688<br>
CH-5232 Villigen gnupg key: 0x515E30C7<br>
Switzerland<br>
<a href="https://www.psi.ch/ceg/">https://www.psi.ch/ceg/</a><br>
<br>
</div>
</span></font>
</body>
</html>