Comments# These comments from an example SPEC data file scan: 1#C Fri Mar 11 16:29:51 2022. plan_type = generator 2#C Fri Mar 11 16:29:51 2022. uid = dccc572d-9a5b-4f72-87d7-233b2fd33e4e 3#C Fri Mar 11 16:29:57 2022. num_events_baseline = 2 4#C Fri Mar 11 16:29:57 2022. num_events_primary = 10 5#C Fri Mar 11 16:29:57 2022. exit_status = success are written to the Scan entry as a single NeXus field [1] named comments where all the scan’s comments are joined together by newline (\n) characters: 1comments:NX_CHAR = [b'Fri Mar 11 16:29:51 2022. plan_type = generator\nFri Mar 11 16:29:51 2022. uid = dccc572d-9a5b-4f72-87d7-233b2fd33e4e\nFri Mar 11 16:29:57 2022. num_events_baseline = 2\nFri Mar 11 16:29:57 2022. num_events_primary = 10\nFri Mar 11 16:29:57 2022. exit_status = success'] Note, when printed, the value of this example comments field looks like: Fri Mar 11 16:29:51 2022. plan_type = generator Fri Mar 11 16:29:51 2022. uid = dccc572d-9a5b-4f72-87d7-233b2fd33e4e Fri Mar 11 16:29:57 2022. num_events_baseline = 2 Fri Mar 11 16:29:57 2022. num_events_primary = 10 Fri Mar 11 16:29:57 2022. exit_status = success
Comments#
These comments from an example SPEC data file scan:
are written to the Scan entry as a single NeXus field [1] named
comments
where all the scan’s comments are joined together by newline (\n
) characters:Note, when printed, the value of this example
comments
field looks like: