When not using the EPICS Area Detector HDF5 File Writing Plugin to write
area detector data into a NeXus file, our USAXS instrument uses custom
Python code and the h5py package to write NeXus files.
On 2018-05-09 7:22 AM, Matt Newville wrote:
From python, nexpy (https://github.com/nexpy/nexpy) is very useful for
working with nexus data, either from plain python programs, or from its
very nice GUI. You can also sort of "roll your own" by using HDF5 + the
nexus conventions. That's probably not "recommended", but it can work
in a pinch.
The NeXus International Advisory Committee advises to use the NAPI
support library when writing NeXus data files. But when the NIAC
members were asked who among them uses the NAPI, the response was less
than half. Thus, there are code examples for NAPI and non-NAPI file
writers here:
http://download.nexusformat.org/doc/html/examples/index.html#code-examples-that-use-the-nexus-api-napi
For Python, see this page:
http://download.nexusformat.org/doc/html/examples/h5py/index.html
Use any software you wish to write a NeXus HDF5 data file. The
documentation is the "NeXus: User Manual"
(http://download.nexusformat.org/doc/html/user_manual.html).
There are programs to check if a given data file passes validation. See
this page for the list from NeXus:
http://download.nexusformat.org/doc/html/validation.html As its author,
I suggest you try the punx program if you wish to validate your data files.
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <[email protected]>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- Replies:
- Re: How do you generate nexus files? Gabriel de Souza Fedel
- References:
- How do you generate nexus files? Gabriel de Souza Fedel
- Re: How do you generate nexus files? Matt Newville
- Navigate by Date:
- Prev:
RE: Keithley 2634B Source Meter Kline, David
- Next:
devAsynUInt32Digital: add parameter for shifting? Konrad, Martin
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: How do you generate nexus files? Matt Newville
- Next:
Re: How do you generate nexus files? Gabriel de Souza Fedel
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|