Git Product home page Git Product logo

exampledata's People

Contributors

benajamin avatar graeme-winter avatar jacobfilik avatar markbasham avatar peterc-dls avatar phyy-nx avatar prjemian avatar russberg avatar stuartcampbell avatar tcspain avatar woutdenolf avatar yayahjb avatar zjttoefs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exampledata's Issues

separate out non-compliant data files

some of the data files here are not compliant with the NeXus standard

there could be several categories:

  • compliant HDF4 files (deprecated for new use)
  • compliant XML files (deprecated for new use)
  • compliant HDF5 files
  • non-compliant data files
  • non-compliant data files to be kept for testing

Sort files by application definition

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.

How to implement correctly type from NXdetector in hdf?

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.

some examples are not valid NeXus

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.