nexusformat / exampledata Goto Github PK
View Code? Open in Web Editor NEWExamples of (mostly) real world NeXus files to inspect, test and train reading software with.
Examples of (mostly) real world NeXus files to inspect, test and train reading software with.
some of the data files here are not compliant with the NeXus standard
there could be several categories:
related to nexusformat/definitions#280
extend nxdl_to_hdf5.py to generate h5py and nexusformat scripts that will create hdf5 files of all application definitions
to let users know that there are examples of all application def's in the form of:
It is difficult to find an example of a specific application definition, which is what most people coming to this repository will want to do.
Dear Nexus community,
Could I ask here for advice, please?
NXdetector has an entry called type
https://manual.nexusformat.org/classes/base_classes/NXdetector.html
"Description of type such as He3 gas cylinder, He3 PSD, scintillator, fission chamber, proportion counter, ion chamber, ccd, pixel, image plate, CMOS, โฆ"
How do I implement this with h5py correctly?
The manual for h5py does not give an example for string datasets. https://docs.h5py.org/en/stable/strings.html#storing-strings
My approach:
uv_spectra=grp_uv.create_group("uv_spectra")
uv_spectra.attrs["NX_class"] = 'NXdetector'
string_dt = h5py.special_dtype(vlen=str)
uv_spectra_type=uv_spectra.create_dataset('type', data='ccd', dtype=string_dt)
But I don't know if this is the correct way.
Thank you for your help.
as per the NIAC call on Nov 15 2021 there was a desire that there would be hdf5 representations of proposed definitions, nxdl_to_hdf5.py will be extended to generate hdf5 files and scripts for the definitions that exist in the contributed_definitions folder.
There are a variety of files in this repository. Only some of them are valid NeXus files, including HDF4, XML, and HDF5 files.
Provide some assistance to identify the examples of compliant NeXus files.
Large files can become a problem in a repository in many ways. Consider use of large file storage:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.