<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="">
<div class="">Howie, </div>
<div class=""><br class="">
</div>
Let me be careful here in distinguishing between peaks and reflections, where peaks can contain one or more reflection (possibly from multiple phases) and only have a position, intensity and gaussian & cauchy widths and are most important for unindexed patterns,
while reflections are tabulated by hkl, with lots of information including Gaussian & Cauchy widths, see <a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIobj.html#powderrefl-table" class="">https://gsas-ii.readthedocs.io/en/latest/GSASIIobj.html#powderrefl-table</a>.
Look at the old manual for GSAS to see how sigma and gamma are defined. I don’t think that has made it to the GSAS-II docs.
<div class=""><br class="">
</div>
<div class="">There are commands and API commands to export peak lists, but I think you want a reflection list, which can be exported with Export/"Powder Data…" From the API, you might be able to use G2PwdrData.Export() (see
<a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2PwdrData.Export" class="">
https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2PwdrData.Export</a>) to get what you want (you might have to write your own exporter, using the supplied ones as a template.) The reflection list(s) (by phase) are contained in
<a href="https://gsas-ii.readthedocs.io/en/latest/GSASIIscriptable.html#GSASIIscriptable.G2PwdrData.Export" class="">GSASIIscriptable.G2PwdrData.data[‘Reflection Lists’]</a>. </div>
<div class=""><br class="">
</div>
<div class="">Brian</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 15, 2020, at 7:56 PM, Joress, Howie (Fed) 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="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
I will add is there a way to do this using the python API?</div>
<div id="appendonsend" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
</div>
<hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline-block; width: 788.890625px;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span>
<div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>GSAS-II <<a href="mailto:gsas-ii-bounces@aps.anl.gov" class="">gsas-ii-bounces@aps.anl.gov</a>> on behalf of Joress, Howie (Fed)
via GSAS-II <<a href="mailto:gsas-ii@aps.anl.gov" class="">gsas-ii@aps.anl.gov</a>><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, July 15, 2020 8:54 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:gsas-ii@aps.anl.gov" class="">gsas-ii@aps.anl.gov</a> <<a href="mailto:gsas-ii@aps.anl.gov" class="">gsas-ii@aps.anl.gov</a>><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>[GSAS-II] fwhm and amplitude of peaks</font>
<div class=""> </div>
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Is there a straightforward way to export the amplitude and fwhm of each peak in a pattern. In my case this is a simulated pattern.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Thanks,<br class="">
Howie</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">GSAS-II
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="mailto:GSAS-II@aps.anl.gov" class="">GSAS-II@aps.anl.gov</a></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii" class="">https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii</a></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>