Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
IMAT_Definition_2016.xml 6.15 KiB
<?xml version="1.0" encoding="UTF-8"?>
<!-- For help on the notation used to specify an Instrument Definition File
see http://www.mantidproject.org/IDF -->
<instrument xmlns="http://www.mantidproject.org/IDF/1.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 Schema/IDFSchema.xsd"
            name="IMAT" valid-from="2016-07-15 00:00:00"
            valid-to="2017-02-24 23:59:59"
            last-modified="2016-08-03 18:46:01">
  <defaults>
    <length unit="meter"/>
    <angle unit="degree"/>
    <reference-frame>
      <!-- The z-axis is set parallel to and in the direction of the beam. the
           y-axis points up and the coordinate system is right handed. -->
      <along-beam axis="z"/>
      <pointing-up axis="y"/>
      <handedness val="right"/>
    </reference-frame>
    <default-view axis-view="z"/>
  </defaults>
  <!-- BRIEF DESCRIPTION OF IMAT INSTRUMENT:
       IMAT (Imaging and Materials Science & Engineering)
  -->

  <!-- LIST OF PHYSICAL COMPONENTS (which the instrument consists of) -->

  <!-- source and sample-position components -->

  <component type="source">
    <location z="-56.0"/>
  </component>
  <type name="source" is="Source" />

  <component type="default-sample-holder">
    <location />
  </component>

  <!-- Place detector components (including monitors) -->

  <!-- Monitors -->
  <component type="monitors" idlist="monitors">
    <location />
  </component>


  <!-- The current sequence in the nexus files / workspaces seems to be:
   monitors (13+1): workspace indices 0..13   (0..12+"1 off" monitors)
   200 elements: workspace indices 14..213 + 224 "additional"?
   16 PMT (32 elements): workspace indices 416..443
   -->

  <!-- This places the "200 elements" prototype diffraction detector 1.77m to the left of the sample (seen in the direction of the beam) -->
  <component type="200-elements" idstart="14" idfillbyfirst="n" idstep="1" idstepbyrow="100">
	<!--<location r="1.77" theta="-90" phi="0" rot="90" axis-x="0.0" axis-y="1.0" axis-z="0.0" name="prototype-detector-200-elements"/> -->
	<location x="+1.77" rot="90" axis-x="0.0" axis-y="1.0" axis-z="0.0" name="prototype-detector-200-elements"/>
  </component>

  <!-- Place the 16PMT prototype diffraction detector. 1.895m to the right of the sample (seen in the direction of the beam) -->
  <component type="16PMT" idstart="416" idfillbyfirst="n" idstep="1" idstepbyrow="16">
   <!-- <location r="1.895" theta="90" phi="0" rot="90" axis-x="0.0" axis-y="1.0" axis-z="0.0" name="prototype-detector-16PMT"/> -->
   <location x="-1.895" rot="-90" axis-x="0.0" axis-y="1.0" axis-z="0.0" name="prototype-detector-16PMT"/>
  </component>

  <!-- A cuboid sample holder -->
  <!-- <type name="default-sample-holder" is="SamplePos" /> -->
  <type name="default-sample-holder" is="SamplePos">
    <cuboid id="shape">
      <left-front-bottom-point  x="0.02"  y="-0.02" z="0.0"   />
      <left-front-top-point     x="0.02"  y="-0.02" z="0.02"  />