<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">We do not store any initial values, but the current values are in the various objects. For example, see the atom object for coordinates. Histogram object for scale factor/instrument terms,... There may be some items without a formal API access. For them you need to go into the .data objects (see the GSASIIobj section for a description of of those structures), but everything is there. ESDs are in the Covariance data item. <div class=""><br class=""></div><div class="">If you want initial and refined values, you will have to store values before and after yourself. <div class=""><br class=""></div><div class="">Brian<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 11, 2020, at 11:06 AM, Long Yang via GSAS-II <<a href="mailto:gsas-ii@aps.anl.gov" class="">gsas-ii@aps.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div 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 using GSASIIscriptable for refinement. How can I get the initial and refined parameter values, for example, structure’s lattice parameter, Uiso, and atomic position; histogram’s scale factor; instrument parameters etc? </div><div class=""><br class=""></div><div class="">My script is basically following the tutorial (<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>). So far, I only found the function to output refined lattice parameter: `gpx.phase('structure').get_cell()`.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks!</div><div class="">Long</div></div>_______________________________________________<br class="">GSAS-II mailing list<br class=""><a href="mailto:GSAS-II@aps.anl.gov" class="">GSAS-II@aps.anl.gov</a><br class="">https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div class=""><br class="khtml-block-placeholder"></div><div class="">Brian Toby</div><div class="">204 Waxwing Ave</div><div class="">Naperville IL 60565-1240</div><div class=""><br class="khtml-block-placeholder"></div><div class=""><a href="mailto:bhtoby@comcast.net" class="">bhtoby@comcast.net</a></div><div class=""><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></span></span>
</div>
<br class=""></div></div></body></html>