<div dir="ltr"><div>Hello esteemed colleagues,</div><div><br></div><div>I am writing a python script to run a refinement that needs the generalized mustrain model (S400 and S220 in a cubic cell). I set the Mustrain type to generalized as shown below.</div><div><br></div><div>refdict2 = {&quot;set&quot;: {&quot;Mustrain&quot;: {&quot;type&quot;:&quot;generalized&quot;,&quot;refine&quot;:True},</div><div>                    &quot;Size&quot;:{&quot;type&quot;:&quot;isotropic&quot;,&quot;refine&quot;:False},</div><div>                    }}</div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">The script runs without any errors, but the Mustrain isn&#39;t refined when I check the final .gpx file. Maybe I need to set the refine boolean differently? Can&#39;t find details in the documentation. </span><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Also, I&#39;d like to manually set the Size to 10um. Is there a way to do that with a python script as well?</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks,</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Riley Hanus</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">(5th year graduate student</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Northwestern University)</span></div></div>