Ticket #6974 (assigned)
Load seperate period good frame values from the Beamlog logs
Reported by: | Nick Draper | Owned by: | Raquel Alvarez Banos |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.5 |
Component: | Muon | Keywords: | |
Cc: | jamie.peck@… | Blocked By: | #8335 |
Blocking: | Tester: |
Description (last modified by Arturs Bekasovs) (diff)
There is more detailed beamlog information in the nexus files that stores the beamlog data for good frames by period so we can split them out by the period they were recorded in. Otherwise at present the goodfrm log is wron as is it a single value which is the sm of all of the periods.
Look into how common this log structure is? Common across muon insts? or all ISIS insts.
Good file as an example:
isis\inst$\NDXHIFI\Instrument\data\cycle_12_5\HIFI00050132.nxs
Then we need to consider how to make use of this.
From James Lord:
With ISIS Muon data (and probably neutrons), in the Nexus file header each Period has its own number of Good Frames collected during a run. When a multi-period run is loaded into Mantid it appears as a Workspace Group, in which each Workspace has "goodfrm" set to the total good frames in the whole run. It would be better to put that individual period's good frames instead, so that dead time and other corrections automatically work as they do for non-period data.
For much of our data we have 2 periods with equal numbers of frames each so "goodfrm" is wrong by a factor 2, but we can't rely on a fixed factor as it is easy enough (and often scientifically useful) to set up different numbers of frames per period, and perhaps more than 2 periods. With externally controlled period switching it may not be possible to predict the ratio in advance.
Change History
comment:2 Changed 7 years ago by Anders Markvardsen
- Priority changed from major to critical
Procedure to fix
- read in number of good frames for each period and store in individual matrix workspaces
In addition in bottom of the Home tab in the Information part write text like:
Data collected at 'n' periods and the number of good frames for each period
comment:3 Changed 7 years ago by Nick Draper
Talk to Owen about this he may have some code you can use, he had to do something very similar for the neutron nexus files recently.
comment:5 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to the Backlog after R2.6
comment:6 Changed 7 years ago by Anders Markvardsen
- Owner changed from Anders Markvardsen to Arturs Bekasovs
- Component changed from Framework to Muon
- Description modified (diff)
comment:7 Changed 7 years ago by Arturs Bekasovs
- Description modified (diff)
Difficult to read like that.
comment:7 Changed 7 years ago by Arturs Bekasovs
- Description modified (diff)
Difficult to read like that.
comment:9 Changed 7 years ago by Arturs Bekasovs
- Blocked By 8335 added
First of all, need to investigate why Muon Nexus v2 files fail to load in Mantid for those runs outlined by James Lord:
HIFI00023391.nxs_v2, HIFI00047745.nxs_v2
Ticket for that: #8335
comment:10 Changed 7 years ago by Arturs Bekasovs
- Summary changed from Muon: Load seperate period good frame values from the Beamlog logs to [Muon] Load seperate period good frame values from the Beamlog logs
comment:11 Changed 7 years ago by Arturs Bekasovs
- Milestone changed from Release 3.1 to Backlog
Wouldn't want to start before structure of the Muon Nexus file is sorted out.
comment:12 Changed 7 years ago by Arturs Bekasovs
- Summary changed from [Muon] Load seperate period good frame values from the Beamlog logs to Load seperate period good frame values from the Beamlog logs
comment:13 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
Bulk move to assigned at the introduction of the triage step
comment:15 Changed 6 years ago by Anders Markvardsen
- Owner changed from Arturs Bekasovs to Anders Markvardsen
comment:16 Changed 6 years ago by Anders Markvardsen
- Owner changed from Anders Markvardsen to Raquel Alvarez Banos
comment:19 Changed 6 years ago by Raquel Alvarez Banos
- Milestone changed from Backlog to Release 3.4
comment:20 Changed 5 years ago by Raquel Alvarez Banos
- Milestone changed from Release 3.4 to Release 3.5
comment:21 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7820
More from James