Skip to content
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

"Are there examples of code that reads NeXus data?" - asked at Nobugs 2018 #630

Closed
prjemian opened this issue Oct 25, 2018 · 13 comments · Fixed by #736
Closed

"Are there examples of code that reads NeXus data?" - asked at Nobugs 2018 #630

prjemian opened this issue Oct 25, 2018 · 13 comments · Fixed by #736

Comments

@prjemian
Copy link
Contributor

@prjemian prjemian commented Oct 25, 2018

Specifically, examples of code that reads specific application definitions and raise the prominence in the documentation

This will be a third subsection in examples/index.rst

@toqduj

This comment has been minimized.

Copy link

@toqduj toqduj commented Dec 12, 2018

Very soon SasView 4.2.1 will have a functioning NXcanSAS reader. DAWN reads generic NeXus, and outputs NXcanSAS.

@prjemian

This comment has been minimized.

Copy link
Contributor Author

@prjemian prjemian commented Apr 2, 2019

@toqduj Can you provide URL to specific example in SASview?

@benajamin

This comment has been minimized.

Copy link
Contributor

@benajamin benajamin commented Jan 22, 2020

NXstxm can be read by:

@benajamin

This comment has been minimized.

Copy link
Contributor

@benajamin benajamin commented Jan 22, 2020

SasView has python code to read and write NXcanSAS

@phyy-nx

This comment has been minimized.

Copy link
Contributor

@phyy-nx phyy-nx commented Jan 22, 2020

@benajamin

This comment has been minimized.

Copy link
Contributor

@benajamin benajamin commented Jan 22, 2020

Dawn has java code to read and write HDF5 NeXus files (generic NeXus, not tied to specific application definitions).

@mkoennecke

This comment has been minimized.

Copy link
Contributor

@mkoennecke mkoennecke commented Jan 24, 2020

A F77 reading routine using NAPI for POLDI at SINQ PSI
poldi.zip The archive includes the code and an example of a file which it reads

@mkoennecke

This comment has been minimized.

Copy link
Contributor

@mkoennecke mkoennecke commented Jan 24, 2020

FOCUS stuff:
focus.zip
The archive contains:

  • An example FOCUS file
  • focusreport: A h5py program which skips through a list of files and prints statistics
  • focusreport.tcl, same as above but in Tcl using the Swig generated binding to NAPI
  • i80.f contains a F77 routine for reading FOCUS files into Ida. The routine is RRT_in_Foc.
@mkoennecke

This comment has been minimized.

Copy link
Contributor

@mkoennecke mkoennecke commented Jan 24, 2020

ZEBRA stuff in
zebra.zip
This contains:

  • an example file
  • zebra-to-ascii, a h5py script which dumps a zebra file to ASCII
  • TRICSReader.* for reading ZEBRA files in C++ using C-NAPI calls
@mkoennecke

This comment has been minimized.

Copy link
Contributor

@mkoennecke mkoennecke commented Jan 24, 2020

NXreader.zip
This is some java code which reads NeXus files into ImageJ. It uses the Java-hdf interface to HDF5. It tries to do a good job locating the image dataset by NeXus conventions. But it uses the old style conventions.

@prjemian

This comment has been minimized.

Copy link
Contributor Author

@prjemian prjemian commented Jan 26, 2020

Once these are written into the user guide, this issue can be closed.

@prjemian

This comment has been minimized.

Copy link
Contributor Author

@prjemian prjemian commented Jan 26, 2020

HDF5gateway makes it easy to read a HDF5 file into an IgorPro folder, including group and dataset attributes, such as a NeXus data file, modify it, and then write it back out.

@prjemian

This comment has been minimized.

Copy link
Contributor Author

@prjemian prjemian commented Jan 26, 2020

Hmmm... This list is similar to, yet different from, the listing in the utilities section of the manual. Enough that I will put all this content into the utilities page with a link from the Examples page.

prjemian added a commit that referenced this issue Jan 26, 2020
@prjemian prjemian self-assigned this Jan 26, 2020
prjemian added a commit that referenced this issue Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

5 participants
You can’t perform that action at this time.