<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="">
Dear Will,
<div class=""><br class="">
</div>
<div class="">My feeling is that the necessary fields should go into the NXsample group. You may need to suggest additional fields to the </div>
<div class="">NIAC in order to cover your use case. I would only opt for an extra potentiometer group if you need to store much more additional </div>
<div class="">information about the thing, more than in foreseen in NXenvironment.</div>
<div class=""><br class="">
</div>
<div class="">Now, regarding the storage of values over time. There are two cases:</div>
<div class=""><br class="">
</div>
<div class="">- If you do a scan of some form you just treat those values like a scan variable and write one per scan point.</div>
<div class="">- If this is more like a temperature which can vary wildly throughout a measurement (It should not but it sometimes does), then consider </div>
<div class=""> replacing the appropriate field through a NXlog structure.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Best Regards,</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""> Mark Koennecke</div>
<div class=""> <br class="">
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Am 28.07.2022 um 11:11 schrieb Collins, Steve (DLSLtd,RAL,SCI) via NeXus <<a href="mailto:nexus@shadow.nd.rl.ac.uk" class="">nexus@shadow.nd.rl.ac.uk</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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;">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Dear Will,<o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
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 class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
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 class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
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 class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
But I’m sure people will have other views…<o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Cheers,<o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Steve<o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div class="">
<div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class="">
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><span lang="EN-US" class="">From:</span></b><span lang="EN-US" class=""><span class="Apple-converted-space"> </span>NeXus <<a href="mailto:nexus-bounces@shadow.nd.rl.ac.uk" style="color: rgb(5, 99, 193); text-decoration: underline;" class="">nexus-bounces@shadow.nd.rl.ac.uk</a>><span class="Apple-converted-space"> </span><b class="">On
Behalf Of<span class="Apple-converted-space"> </span></b>Smith, William via NeXus<br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>28 July 2022 09:08<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:nexus@nexusformat.org" style="color: rgb(5, 99, 193); text-decoration: underline;" class="">nexus@nexusformat.org</a><br class="">
<b class="">Cc:</b><span class="Apple-converted-space"> </span>Smith, William <<a href="mailto:william.smith@helmholtz-berlin.de" style="color: rgb(5, 99, 193); text-decoration: underline;" class="">william.smith@helmholtz-berlin.de</a>>; Garcia Diez, Raul
<<a href="mailto:raul.garcia_diez@helmholtz-berlin.de" style="color: rgb(5, 99, 193); text-decoration: underline;" class="">raul.garcia_diez@helmholtz-berlin.de</a>><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>[Nexus] Data from experiments involving electrochemistry<o:p class=""></o:p></span></div>
</div>
</div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Dear NeXus Community,<span class="Apple-converted-space"> </span><o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
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.<span class="Apple-converted-space"> </span><br class="">
<br class="">
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" style="color: rgb(5, 99, 193); text-decoration: underline;" class="">https://manual.nexusformat.org/classes/base_classes/NXsample.html#nxsample</a><br class="">
<br class="">
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 class="">
<br class="">
Or<span class="Apple-converted-space"> </span><br class="">
<br class="">
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 class="">
<br class="">
Or something else completely.<o:p class=""></o:p></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<br class="">
I would like to hear how other people tackle this problem.<br class="">
<br class="">
Thanks!<br class="">
<br class="">
Will<o:p class=""></o:p></div>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="webkit-block-placeholder">
</div>
<p align="justify" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
-- </p>
<p align="justify" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt
by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br class="">
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.<span class="Apple-converted-space"> </span><br class="">
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br class="">
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br class="">
</p>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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: 12px; 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: 12px; 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="">NeXus
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">
<a href="mailto:NeXus@nexusformat.org" style="color: rgb(5, 99, 193); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">NeXus@nexusformat.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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="">
<a href="https://lists.nexusformat.org/mailman/listinfo/nexus" style="color: rgb(5, 99, 193); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.nexusformat.org/mailman/listinfo/nexus</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>