[Nexus] Question about start_time field

Watts Benjamin (PSI) benjamin.watts at psi.ch
Fri Jul 9 08:47:41 BST 2021


Hi Henrik,

   I agree with Filipe that the time at which the actual measurement begins is the more reasonable interpretation for scan_start.


Cheers,

Ben

________________________________
From: NeXus <nexus-bounces at shadow.nd.rl.ac.uk> on behalf of Filipe Maia via NeXus <nexus at shadow.nd.rl.ac.uk>
Sent: Friday, 9 July 2021 9:38:03 AM
To: Discussion forum for the NeXus data format
Cc: Filipe Maia; nexus at nexusformat.org
Subject: Re: [Nexus] Question about start_time field

Hi Henrik,

I think setting it to when the actual scan starts is the more logical choice.

Cheers,
Filipe

On Fri, 9 Jul 2021 at 09:33, Henrik Enquist via NeXus <nexus at shadow.nd.rl.ac.uk<mailto:nexus at shadow.nd.rl.ac.uk>> wrote:

Hi,

We are looking at the nexus output of Sardana, and a question came up about the exact meaning of scan_start.

https://manual.nexusformat.org/classes/applications/NXscan.html#nxscan-entry-start-time-field


We have the choice of setting it to the exact time when the user started the scan macro, or when the actual scan starts. The documentation linked above does not mention any details. In many cases these two will be so close that it doesn't make any practical difference. But if for example a large prescan snapshot is taken, then they can be a number of seconds apart.


So the question is, which time should we put in the start_time? The time when the user pressed the button, or the time when the scan started running?


I tried sending this yesterday but I probably did it a little too early, before my registration on the list was completed. Sorry if this causes any noise.


Cheers,

Henrik



----
Dr. Henrik Enquist
Control Software Engineer
MAX IV Laboratory
Fotongatan 2
221 00, Lund
Sweden

Phone: +46 (0)272 15 45 45
Email: henrik.enquist at maxiv.lu.se<mailto:henrik.enquist at maxiv.lu.se>
Web: www.maxiv.lu.se<http://www.maxiv.lu.se>


_______________________________________________
NeXus mailing list
NeXus at nexusformat.org<mailto:NeXus at nexusformat.org>
https://lists.nexusformat.org/mailman/listinfo/nexus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nexusformat.org/pipermail/nexus/attachments/20210709/091f7791/attachment-0001.htm>


More information about the NeXus mailing list