<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I’d like to report a possible bug within Athena.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Last week I collected Br K-edge data at the APS and have experienced an issue with Athena during data alignment. The beamline energy required calibration and so I did the following data processing steps, in this order:</p>
<p class="MsoNormal"> </p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">1.<span style="font:7.0pt "Times New Roman"">      
</span></span>Completed pre- and post-edge corrections, using windows relative to the actual Br K-edge energy, on the raw data exported from the beamline. (In other words these windows were not energy offsets relative to the actual measured edge position).</p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">2.<span style="font:7.0pt "Times New Roman"">      
</span></span>Used the flatten post-edge feature within Athena.</p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">3.<span style="font:7.0pt "Times New Roman"">      
</span></span>‘Calibrated’ (Normalised is a better term really) the first derivative of a NaBr measurement to the Br K-edge energy using the calibrate drop-down option. This resulted in the requirement for a -17.39 eV energy offset.</p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="">4.<span style="font:7.0pt "Times New Roman"">      
</span></span>Tried to align all of the sample data to the NaBr ‘standard’ using the align drop-down option.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The issue I have had is with step #4. When I aligned, for several samples the XAFS (XANES) plots went wrong. It seems that Athena was not transforming the pre- and post-edge windows correctly for such a large energy shift, i.e. didn’t shift
 these to lower energies by 17.39 eV, and I think this is a bug within Athena.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I hope the above makes sense; I can provide an Athena project file, if required.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Many thanks, Leon</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">-----</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Dr Leon J. Clarke</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Senior Lecturer in Environmental Analytical Chemistry</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Division of Chemistry and Environmental Sciences</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">School of Science and the Environment</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Faculty of Science and Engineering</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Manchester Metropolitan University</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">John Dalton East</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Oxford Road</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Manchester</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">M1 5GD</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">E-mail:
<a href="mailto:l.clarke@mmu.ac.uk"><span style="color:blue">l.clarke@mmu.ac.uk</span></a></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">WWW:
<a href="http://www.sste.mmu.ac.uk/"><span style="color:blue">http://www.sste.mmu.ac.uk/</span></a></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Tel: +44 (</span><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">0)161 247 1412<span style="color:black"></span></span></p>
<p class="MsoNormal"> </p>
</div>
"Before acting on this email or opening any attachments you should read the Manchester Metropolitan University email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer "
</body>
</html>