Ticket #6386 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

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

IP0005.dat (8.3 KB) - added by Martyn Gigg 8 years ago.
IP0004_10.par (7.2 KB) - added by Martyn Gigg 8 years ago.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

Changed 8 years ago by Martyn Gigg

Changed 8 years ago by Martyn Gigg

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

comment:5 Changed 8 years ago by Nick Draper

  • Status changed from verifying to closed

both formats load fine

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7232

Note: See TracTickets for help on using tickets.