<div dir="ltr">Ok, so I think I like the following the best:<div><br></div><div>incident_wavelength: the derived 'best' wavelength from the spectra (array of length N where N is number of images)</div><div>incident_wavelength_original: original spectra.  array of dimension NxM where M is number of energies in the spectra.</div><div>    @variant: incident_wavelength</div><div>incident_wavelength_original_weight: original spectra weights. NxM</div><div><br></div><div>So, does incident_wavelength_original_weight need a variant tag?  Note saying it is a variant of incident_wavelength_weight doesn't make sense since incident_wavelength_weight isn't specified (not available since it's a wavelength per shot).  Or is it assumed it follows the X_weight convention that we talked about at the last meeting?</div><div><br></div><div>Thanks,</div><div>-Aaron</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 2, 2020 at 1:06 PM Aaron Brewster <<a href="mailto:asbrewster@lbl.gov">asbrewster@lbl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Good tips folks, thanks.  I'll think about it some more and update you when I lock something in.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 2, 2020 at 12:28 AM Watts Benjamin (PSI) <<a href="mailto:benjamin.watts@psi.ch" target="_blank">benjamin.watts@psi.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div>


<div dir="ltr">
<div id="gmail-m_-2859311919731990861gmail-m_420758721389207188x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<p>Hi Aaron,</p>
<p>   Another interpretation is that the calculated wavelength is a refined version of the spectrum. Therefore, you could use the "variants" feature we were just discussing. It is a more interesting case, however, since the refined value is a different type/shape
 as the older value, but it is also just as valid for the intended field.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Ben<br>
</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_-2859311919731990861gmail-m_420758721389207188x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> NeXus <<a href="mailto:nexus-bounces@shadow.nd.rl.ac.uk" target="_blank">nexus-bounces@shadow.nd.rl.ac.uk</a>> on behalf of V. Armando Sole <<a href="mailto:sole@esrf.fr" target="_blank">sole@esrf.fr</a>><br>
<b>Sent:</b> Wednesday, 1 April 2020 11:24:04 PM<br>
<b>To:</b> Discussion forum for the NeXus data format<br>
<b>Cc:</b> Discussion forum for the NeXus data format<br>
<b>Subject:</b> Re: [Nexus] beam spectrum in NeXus</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div>On 01.04.2020 23:13, Aaron Brewster wrote:<br>
> <br>
>        * Add a new optional field to NXmx: incident_wavelength_calculated.<br>
> <br>
<br>
That one.<br>
<br>
The others are the measured stuff that any software could use to <br>
calculate whatever calculated_wavelength to be used. If you have already <br>
calculated it, then you can add it.<br>
<br>
If you are sure about the calculated being the correct one, then use it <br>
instead of the foreseen one and create anything to store the raw stuff <br>
(for instance incident_wavelength_original)<br>
<br>
Armando<br>
_______________________________________________<br>
NeXus mailing list<br>
<a href="mailto:NeXus@nexusformat.org" target="_blank">NeXus@nexusformat.org</a><br>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br>
</div>
</span></font>
</div>

_______________________________________________<br>
NeXus mailing list<br>
<a href="mailto:NeXus@nexusformat.org" target="_blank">NeXus@nexusformat.org</a><br>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus" rel="noreferrer" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus</a><br>
</blockquote></div>
</blockquote></div>