Ticket #1132 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Allow Instrument Parameters to be loaded from a seperate xml file

Reported by: Nick Draper Owned by: Anders Markvardsen
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Nick Draper) (diff)

using something like this:

 <component id="bob" or name="sally">
    <parameter tags like normal />
 </component>

This file would only contain additional parameters for components that have already been defined in an instrument file.

This would allow the setting of different eFixed values for 002 and 004 reflections in indirect mode.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Description modified (diff)

comment:2 Changed 10 years ago by Anders Markvardsen

(In [4299]) Allow

<component-link name="nickel-holder" >

<parameter name="fjols"> <value val="200.0" /> </parameter>

</component-link

in IDF. Refs #1132

comment:3 Changed 10 years ago by Anders Markvardsen

(In [4320]) New algorithm for reading in separate parameter definition file. Refs #1132

comment:4 Changed 10 years ago by Anders Markvardsen

(In [4328]) Rename LoadInstrumentParamFile to LoadParameter and added test for LoadParameter. Refs #1132

comment:5 Changed 10 years ago by Anders Markvardsen

(In [4336]) Added property parameterDefinition.directory = ../../../../Test/Instrument Made LoadParameterFile be sub-algorithm of LoadInstrument and added test where load HRPD_Parameters.xml. Refs #1132

comment:6 Changed 10 years ago by Anders Markvardsen

(In [4337]) Changes to this file meant to have been included with previous commit to this ticket. Refs #1132

comment:7 Changed 10 years ago by Anders Markvardsen

  • Status changed from new to accepted

comment:8 Changed 10 years ago by Anders Markvardsen

  • Status changed from accepted to testing
  • Resolution set to fixed

Updated wiki for LoadInstrument, LoadParameterFile and Parameter_File

comment:9 Changed 10 years ago by Nick Draper

  • Status changed from testing to closed

tested successfully in version 4799 using script

w=mtd["MAP10241"]
i=w.getInstrument()
print i.getNumberParameter("wb-scale-factor")
print i.getNumberParameter("wb-integr-max")

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1980

Note: See TracTickets for help on using tickets.