Ticket #362 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Allow for parameters in instrument definition file

Reported by: Anders Markvardsen Owned by: Anders Markvardsen
Priority: major Milestone: Iteration 15
Component: Keywords:
Cc: nick.draper@… Blocked By:
Blocking: Tester:

Description

Allow, for example, the 'x','y' or 'z' position of a component defined in an instrument definition file (IDF) to be determined by values in the logfiles of ISIS measurements.

The user should be done allowing to specify <parameter> elements in the IDP that have the attributes:

parameter-name (e.g. 'x') type (default = double) logfile-id (equal to logfile filename minus run number and file extension) eq (short for equation: value from logfile may need to be converted) extract-single-value-as (how to extract value from logfile)

Change History

comment:1 Changed 12 years ago by Anders Markvardsen

  • Status changed from new to assigned

comment:2 Changed 12 years ago by Anders Markvardsen

(In [1833]) Add methods to: TimeSeriesProperty, PropertyMap, LoadRaw2, Instrument, LoadInstrument and added class: XMLfilename to handle the info about parameter/logfiles defined in instrument definition files.

Got to the stage where parameter map of workspace is populated, for now using the first value in a logfile. Refs #362.

comment:3 Changed 12 years ago by Anders Markvardsen

(In [1868]) Speeding up section of LoadInstrument that checks if components elements have parameter child elements (essentially by adding std::vector container to help reduce the number of poco calls). Refs #362.

comment:4 Changed 12 years ago by Anders Markvardsen

(In [1898]) Muparser code added to main mantid code + Roman debug muparser dll. Refs #362.

comment:5 Changed 12 years ago by Anders Markvardsen

(In [1899]) Added muparser to SConstruct script. Refs #362.

comment:6 Changed 12 years ago by Anders Markvardsen

(In [1900]) Linked up muparser to parse equation string in instrument definition file. Refs #362.

comment:7 Changed 12 years ago by Russell Taylor

(In [1906]) Add muparser library for linuxs1. (This won't help the buildserver which doesn't even pull in the includes from Third_Party - probably for a good reason, so I won't change that myself!). Re #362.

comment:8 Changed 12 years ago by Anders Markvardsen

(In [1911]) Added method to ParameterMap to handle special case of adding/modifying a position parameter, and changed LoadRaw2 and XMLlogfile (and V3D) accordingly. Refs #362.

comment:9 Changed 12 years ago by Anders Markvardsen

(In [1914]) Updated LoadRaw2Test (Instrument now potentially different for the different periods of a CRISP dataset since different parts of the logfiles for such data may used be defined detector positions etc). Refs #362.

comment:10 Changed 12 years ago by Anders Markvardsen

(In [1956]) Use LogParser methods to handle extract-single-value-as attribute in instrument def files. Refs #362.

comment:11 Changed 12 years ago by Anders Markvardsen

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1210

Note: See TracTickets for help on using tickets.