Git Product home page Git Product logo

Comments (7)

vasole avatar vasole commented on May 22, 2024
  • I like the idea of having the API used for the most complete file format applicable to the other simpler format.
  • I would leave the file-series for later discussion. HDF5 (not h5py) does that not to select a series of files but to split a single file. The concept of a stack of files falls on a different use case. You can have stacks of files using the family driver for instance.
  • I'm not sure about the need to implement Dataset, Attribute and File. When converting from specfile or EDF to HDF5 one does not need Attributes for instance, but one certainly needs Groups. If you mean not to raise an exception when trying to access the attributes instead of returning the same thing h5py returns when there are no attributes then I agree.
  • If I am wrong, and one needs to implement the attributes when doing a hypothetical conversion, then the attributes have to be implemented.

from silx.

vasole avatar vasole commented on May 22, 2024

Slides of presentation: silx-io.pdf

from silx.

vasole avatar vasole commented on May 22, 2024

Summary

  • The proposal to access SPEC files in the same way as HDF5 files was well received
  • The most repeated word from the meeting participants was "official":
    • Official SPEC to NeXus converter
    • Official layout of ESRF NeXus files

from silx.

vasole avatar vasole commented on May 22, 2024

The HDF5 and SPEC file unification seems to have happened and the HDF5 widget is taking care of it.

That widget should also be able to achieve the same with 2D images via FabIO. Should we close this issue (eventually replacing it by a more dedicated one to images)?

from silx.

kif avatar kif commented on May 22, 2024

On Tue, 20 Sep 2016 07:51:56 -0700
V. Armando Solé [email protected] wrote:

The HDF5 and SPEC file unification seems to have happened and the HDF5 widget is taking care of it.

That widget should also be able to achieve the same with 2D images via FabIO. Should we close this issue (eventually replacing it by a more dedicated one to images)?

Makes sense to me.

Jérôme Kieffer
tel +33 476 882 445

from silx.

vallsv avatar vallsv commented on May 22, 2024

Few comments:

  • Our binding only concern input
  • Maybe we have to discuss about the fabio->h5 binding
  • I created a method load_file_as_h5py(filename). It would be nice to expose it in the io module

What i have about that is quite stable now.
Then I can create a PR containing that. It will make the merge of the hdf5widget PR easier.

from silx.

vasole avatar vasole commented on May 22, 2024

Yes and no. We also contemplate the possibility to export dictionaries in other formats with HDF5 among them but I get your point and yes, we have to clarify output. Concerning writing of HDF5 files we are currently relying on h5py and writing of SPEC files is something I am not sure we want to support (to be discussed). I suppose that for image formats other than TIFF or EDF out best approach would be to use FabIO and, if FabIO is present, then to use FabIO for those too. My personal taste is to export in few but widespread formats (HDF5, TIFF and CSV) leaving more specialized formats to dedicated packages (FabIO, SOLEIL's converters, ...)

from silx.

Related Issues (20)

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.