<div dir="ltr"><div><div><div>Dear Colleagues,<br><br></div>  I agree with Eugen and with the explicit text in NXbeam:<br><br><blockquote>
<div>Template of the state of the neutron or X-ray beam at any location. It will be referenced
by beamline component groups within the NXinstrument group or by the NXsample group. Note
that variables such as the incident energy could be scalar values or arrays. This group is
especially valuable in storing the results of instrument simulations in which it is useful
to specify the beam profile, time distribution etc. at each beamline component. Otherwise,
its most likely use is in the NXsample group in which it defines the results of the neutron
scattering by the sample, e.g., energy transfer, polarizations.</div></blockquote>
Putting the incident beam parameters in an NXbeam in NXsample is both intuitively appropriate and permitted in the description of NXbeam.  I see no reason to disrupt what was already agreed to that Dectris has been coding against.<br><br></div>Regards,<br></div>    Herbert<strong><br></strong></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 8:50 AM, Eugen Wintersberger <span dir="ltr"><<a href="mailto:eugen.wintersberger@desy.de" target="_blank">eugen.wintersberger@desy.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Pete<span class=""><br>
    <br>
    <div>On 05/11/16 13:33, Pete Jemian wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>The source is definitely a part of the instrument, not something at the top
level of the experiment (NXentry). Consider the case of a synchrotron X-ray
experiment with a laser pump.  There are two sources to be documented.
They both belong under the description of the pump/probe instrument.

Why should the beam be part of the sample? Makes no sense at all.  The
sample has no beam.  The beam does not describe the sample in any useful
way.  NXbeam documents the state of the beam at some position along the
path from source to detector.  It could go in many places along the optical
path.</pre>
    </blockquote></span>
    Besides the fact that NXbeam is mentioned as a possible child for
    NXsample<br>
    it makes perfect sense there too. <br>
    If you have many optical components in your beam path and one is
    mainly interested in the <br>
    beam paramters in front of the sample NXbeam within NXsample would
    be my <br>
    first approach to document these parameters.<br>
    <br>
    regards<br>
      Eugen<br>
    <br>
    <br>
    <blockquote type="cite"><span class="">
      <pre>
Pete
On May 11, 2016 6:17 AM, "Andreas Förster" <a href="mailto:andreas.foerster@dectris.com" target="_blank"><andreas.foerster@dectris.com></a>
wrote:

</pre>
      </span><blockquote type="cite">
        <pre>Dear NeXus folks,

there was a little discussion last week about possible additions to the
NeXus standard (and NXmx) to record beam information relevant for the
estimation of dose.  Herbert proposed a good solution, but the outcome of
this discussion is still pending.

At DECTRIS, we're keen to tell our customers how to record additional
metadata in a NeXus-compliant way.  That's why I'd like to have official
word on the fields below:

Information on the synchrotron should be recorded in an NX_Source group.
Is /entry/source the right place for that?

     /entry/source *NX_SOURCE*
<a href="http://download.nexusformat.org/sphinx/classes/base_classes/NXsource.html" target="_blank"><http://download.nexusformat.org/sphinx/classes/base_classes/NXsource.html></a>

o   *name*: *NX_CHAR*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char></a>

§  Name of synchrotron

o   *@short_name*: *NX_CHAR*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char></a>

§  short name for source, perhaps the acronym
Data describing the beam as it hits the sample should probably go the
NX_Beam group in /entry/sample/beam.  None of the fields below are
currently defined.  Could these definitions be adopted?

·      /entry/sample/beam *NX_BEAM*
<a href="http://download.nexusformat.org/sphinx/classes/base_classes/NXbeam.html" target="_blank"><http://download.nexusformat.org/sphinx/classes/base_classes/NXbeam.html></a>

o   *name*: *NX_CHAR*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char></a>

§  Name of beamline

o   *total_flux/xray_flux*: *NX_FLOAT*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-float" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-float></a> {units=
*NX_RATE* <a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-rate" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-rate></a>
}

§  Beam intensity (example: s-1)

o   *incident_beam_size: **NX_FLOAT*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-float" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-float></a>*[2]*

§  Two-dimensional array of FWHM (if Gaussian) or diameters (if top hat)
of beam

o   *profile*: *NX_CHAR*
<a href="http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char" target="_blank"><http://download.nexusformat.org/sphinx/nxdl-types.html#nx-char></a>

§  Gaussian or top hat

Should the name of the beamline be recorded in beam or in source?  For the
flux (as a rate - in contrast to the already existing flux density field
"flux"), either name is fine by me.

I'm happy to discuss these points during the next NeXus meeting.

Thank you and all best


Andreas



--
<a href="https://www.dectris.com" target="_blank"><https://www.dectris.com></a><span class="">
Andreas Förster, Ph.D.
MX Application Scientist, Scientific Sales
Phone: <a href="tel:%2B41%2056%20500%202100" value="+41565002100" target="_blank">+41 56 500 2100</a> | Direct: <a href="tel:%2B41%2056%20500%202176" value="+41565002176" target="_blank">+41 56 500 2176</a> | Email:
<a href="mailto:andreas.foerster@dectris.com" target="_blank">andreas.foerster@dectris.com</a>
DECTRIS Ltd. | Taefernweg 1 | 5405 Baden-Daettwil | Switzerland |
<a href="http://www.dectris.com" target="_blank">www.dectris.com</a></span>

[image: LinkedIn] <a href="https://www.linkedin.com/company/5067919" target="_blank"><https://www.linkedin.com/company/5067919></a>
 [image: facebook]
<a href="https://www.facebook.com/pages/Dectris-Ltd/623855944369304" target="_blank"><https://www.facebook.com/pages/Dectris-Ltd/623855944369304></a>
<a href="https://twitter.com/DECTRIS_News" target="_blank"><https://twitter.com/DECTRIS_News></a><span class="">





Confidentiality Note: This message is intended only for the use of the
named
recipient(s) and may contain confidential and/or privileged information. If
you
are not the intended recipient, please contact the sender and delete the
message.
Any unauthorized use of the information contained in this message is
prohibited.



_______________________________________________
NeXus-committee mailing list
<a href="mailto:NeXus-committee@nexusformat.org" target="_blank">NeXus-committee@nexusformat.org</a>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a>


</span></pre>
      </blockquote><span class="">
      <pre></pre>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
NeXus-committee mailing list
<a href="mailto:NeXus-committee@nexusformat.org" target="_blank">NeXus-committee@nexusformat.org</a>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus-committee" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus-committee</a>
</pre>
    </span></blockquote>
    <br>
  </div>

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