Ticket #6386 (closed: fixed)
LoadVesuvio needs to support 2 IP formats
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Nick Draper |
Description
It currently supports a 5 column format where the columns are: spectrum,theta,t0,l1,R.
There is also a 6 column format where the columns are: plik,det,theta t0,l1,R. plik is spectrum number.
LoadVesuvio should support both by simple inspection of the file.
Attachments
Change History
comment:2 Changed 8 years ago by Martyn Gigg
Update LoadVesuvio to support 5/6 column IP file. Refs #6386
Changeset: 84c4c2d0f44d3355aed157f02eed1ae71ca8e5cb
comment:3 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
Tester: There are some vesuvio data files in the system test data directory, add this to your datasearch path. Use the LoadVesuvio algorithm with the following options:
RunNumbers=14188 Spectra=135 DifferenceType=Single
and use each IP file attached to this ticket in turn. The detector R & theta values should be updated and also the spectrum should have a "t0" parameter that matches the one for spectrum 135 in the file (either 3rd/4th column). Check it with the python below
det = ws.getDetector(0) # make sure you set the correct wsindex print det.getDoubleParameter("t0") # Should give a single-element list with the correct value
comment:4 Changed 8 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper