<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Dear Will,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">People will have more expert opinions on this than me, but this is something of interest for us at Diamond (ARPES, PEEM, XMCD,…).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would say that both would be ideal. Fields in NXsample would give an overview of the sample state, independently of the instrumentation controlling it. Then a description of the instrument (e.g. potentiostat) could also be given if this
 is useful (which it probably is) and the NXsample fields could be linked to it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I don’t think there is a problem with the values changing throughout the measurement as long as the values for each measurement point are given.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But I’m sure people will have other views…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Steve<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> NeXus <nexus-bounces@shadow.nd.rl.ac.uk>
<b>On Behalf Of </b>Smith, William via NeXus<br>
<b>Sent:</b> 28 July 2022 09:08<br>
<b>To:</b> nexus@nexusformat.org<br>
<b>Cc:</b> Smith, William <william.smith@helmholtz-berlin.de>; Garcia Diez, Raul <raul.garcia_diez@helmholtz-berlin.de><br>
<b>Subject:</b> [Nexus] Data from experiments involving electrochemistry<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear NeXus Community, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am producing data for a number of techniques that fit into NeXus application definitions like NXmpes, NXxas, NXfluo. During each of the experiments that we perform we may be changing the potential over the sample, or current through the
 sample or some combination of the two. We might measure the potential applied, the potential across the sample, and the current through the sample.
<br>
<br>
Does anybody have a suggestion of where to include this data? I can see that NXSample has an electric_field component, but in my case it is changing throughout the experiment.
<a href="https://manual.nexusformat.org/classes/base_classes/NXsample.html#nxsample">
https://manual.nexusformat.org/classes/base_classes/NXsample.html#nxsample</a><br>
<br>
Should the potentiostat that drives the change in the sample environment be part of the INSTRUMENT field, then I would link in data /entry/instrument/potentiostat/electrode_voltage etc  <br>
<br>
Or <br>
<br>
Should the potentiostat that drives the change in the sample environment be part of the SAMPLE field, then I would link in data /entry/sample/potentiostat/electrode_voltage etc<br>
<br>
Or something else completely.<o:p></o:p></p>
<p class="MsoNormal"><br>
I would like to hear how other people tackle this problem.<br>
<br>
Thanks!<br>
<br>
Will<o:p></o:p></p>
</div>
</body>
</html>