Ticket #6131 (closed: fixed)
Muon Nexus reader for PSI files
Reported by: | Nick Draper | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | stephen.cottrell@… | Blocked By: | |
Blocking: | Tester: | Nick Draper |
Description
From Stephen Cottrell:
As part of our EU JRA work we’ve been developing an exchange NeXus definition to help PSI and ISIS share data and software, unfortunately I’m currently unable to read these files in Mantid. The file format is based on the version 2 NeXus definition (described in the attached document) and an example is attached. This definition is now (more or less) complete and is being used at PSI, so it would be good if an algorithm could be coded capable of reading these files. Getting this working would also be quite helpful to our EU project work as it would be good to show PSI data files exchanged and analysed in Mantid for the final report due around the end of the year.
Looking at the available algorithms I’m uncertain whether a version of ‘LoadMuonNeXus’ is available designed for version 2 files (the algorithm tree is a little strange). However, I suspect even if this exists some modification will be required to correctly read these files – particularly recognising revised entry names and distinguishing between mandatory and optional entries. You’ll notice that very few elements are mandatory in the new files (indicated in bold type in the definition), so a reader should require these items present and then attempt to read other entries that contain additional metadata if it exists (likely in the ISIS files).
I am hoping it will be possible to give some effort to this problem over the next month or so. Initially, it would be sufficient just to read mandatory items to enable us to read the attached example file. Later I could give you some example ISIS files containing additional (optional) metadata.
Attachments
Change History
Changed 8 years ago by Nick Draper
- Attachment Version 2 - NeXus Definition V2, Revision 8.doc added
comment:2 Changed 8 years ago by Roman Tolchenov
Re #6131. Implemented changes to version 2 muon nexus format.
Changeset: 5c58a0d439bd54cf959c2f33ac2065e255151b32
comment:3 Changed 8 years ago by Roman Tolchenov
Re #6131. Fixing the builds.
Changeset: e6de56a9f50f241e27e54c7963a030f705c95255
comment:4 Changed 8 years ago by Roman Tolchenov
Re #6131. Implemented changes to version 2 muon nexus format.
Changeset: 1c90ea081b14d529fcb7f0db87829788f9e89415
comment:5 Changed 8 years ago by Roman Tolchenov
Re #6131. Fixing the builds.
Changeset: f3ec15c05fcce39db92decfa979b9aec05499be1
comment:6 Changed 8 years ago by Roman Tolchenov
Re #6131. Uncommented LoadMuonNexus1 preformance test.
Changeset: d17be33240c1fdf395908927b7ce23ee848dd527
comment:7 Changed 8 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to fixed
comment:8 Changed 8 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper
comment:9 Changed 8 years ago by Nick Draper
- Status changed from verifying to closed
Tested with attached file
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6977