-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provide reader for canSAS 2d (hdf5) format (Trac #237) #385
Comments
Trac update at |
Trac update at
|
Trac update at A file specification and sample data set would be useful for this. Could someone upload or link to either/both prior to CodeCamp IV? |
Trac update at |
Trac update at I don't know what the current status of NXcansas is. PeteJ and Tobias are probably best-placed to comment, though Andrew may know? However, is any application actually generating files in this format at present? I'm not aware of any that are. |
Trac update at Example datasets here: https://github.com/canSAS-org/canSAS2012/tree/master/examples/contributions Use the ones at the top level there - they are converted NG3 magnetic field series NXCansas is basically done but I struggle with the nexus repo. Tobias is going to send round something later this month. |
Trac update at I have a reader that can load both 1D and 2D data sets, but only if they are in independent 'SASentry's. All SASdata objects are lumped into a single Data1D or Data2D object. I am already working on allowing for both 1D and 2D data within the same SASentry and should have that ready prior to the final 4.0 release. |
Trac update at The 'version 0' hdf cansas file I circulated the other month provoked quite a lot of discussion in the Data Format WG and generated several tweaks to the output. These are currently being worked into Mantid. I'll put out a revised file for testing when available. |
Trac update at The CanSAS Data Format Working Group has now 'approved' the latest version of the NXcanSAS hdf format. Examples of 1D and 2D files have been posted to https://github.com/canSAS-org/NXcanSAS_examples/tree/master/Mantid. They are the *_v3.h5 files. We should now support this format in !SasView. |
Trac update at My latest push can read in the v3 files in 1D and 2D format. I kept a few vestiges for the previous version to be sure there is backward compatibility with any existing data sets floating around. |
Trac update at Seems to work. Am closing the ticket. |
Trac update at
|
Trac update at
I'm glad to hear the reader works! I'm reopening this ticket as a reminder to myself to write unit tests.
|
Trac update at
I refactored the Cansas HDF5 reader to allow any number of SASdata with a single SASentry and and number of SASentry within a single data file. Each SASdata object becomes its own Data1D/2D object and the reader allows for 1D and 2D data within the same SASentry. I added two unit tests that can load in a data set with a single SASdata in a single SASentry and another that loads multiple of each.
|
Trac update at Will you be doing the same for Cansas 1D XML files with multiple SASentry and SASdata? |
Trac update at I'm working on it right now. |
Migrated from http://trac.sasview.org/ticket/237
The text was updated successfully, but these errors were encountered: