Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?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 ="1900-01-31 23:59:59"
valid-to ="2014-08-12 23:59:59"
last-modified="2014-08-12 00:00:00">
<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 SANS2d INSTRUMENT:
Data provided by Richard Heenan (and Freddie) for the SANS2D instrument
12/06/09 this version has X & Y coords detector swapped so orientation
is correct for temporary wiring table.
18/06/09 better distances for detectors and both at L2=4m, front at X=-1.1m
26/06/09 swap front & rear as names wrong, translate front in opposite direction
21/07/09 remove the 150mm sideways shift (i.e. back to symmetrical detector coords)
to simplify manipulations in Mantid and help allow for detector mapping not quite
as expected.
01/02/10 very small chang eto pixel size 191*5.1=974.2=2*487.05 (was 487.4)
- note have to swap x= and y= in Anders output list !
02/04/12 Put in 'no shape monitors' for possible in the future monitors
with ID 5-8
-->
<!-- LIST OF PHYSICAL COMPONENTS (which the instrument consists of) -->
<!-- source and sample-position components -->
<component type="source">
<location />
</component>
<type name="source" is="Source" />
<component type="some-sample-holder">
<location z="19.281"/>
</component>
<type name="some-sample-holder" is="SamplePos" />
<!-- detector components (including monitors) -->
<component type="monitors" idlist="monitors">
<location />
</component>
<type name="monitors">
<component type="monitor-tbd">
<!-- better positions and shapes will be defined later -->
<location z="7.217" name="monitor1"/>
<location z="17.937" name="monitor2"/>
</component>
<component type="Moderator-Monitor3">
<!-- transmisssion detector, either in or out of beam -->
<location z="19.497" name="monitor3"/>
</component>
<component type="monitor-tbd">
<!-- better positions and shapes will be defined later -->
<location z="30.0" name="monitor4"/>
</component>
<!-- Putting in monitors, which are defined in raw/neuxs
files, and have detector IDs, but currently not physically present
on the instrument. Defined with no geometric shape, as they do not
physically exist, and with a dummy position -->
<component type="no shape monitor">
<location z="0" name="placeholder monitor"/>
<location z="0" name="placeholder monitor"/>
<location z="0" name="placeholder monitor"/>
<location z="0" name="placeholder monitor"/>
</component>
</type>
<type name="monitor-tbd" is="monitor">
<cylinder id="some-shape">
<centre-of-bottom-base r="0.0" t="0.0" p="0.0" />
<axis x="0.0" y="0.0" z="1.0" />
<radius val="0.01" />
<height val="0.03" />
</cylinder>
</type>
<type name="Moderator-Monitor3" is="monitor">
<percent-transparency val="99.9" />
<cuboid id="shape">
<left-front-bottom-point x="0.0125" y="-0.0125" z="0.0" />
<left-front-top-point x="0.0125" y="-0.0125" z="0.005" />
<left-back-bottom-point x="-0.0125" y="-0.0125" z="0.0" />
<right-front-bottom-point x="0.0125" y="0.0125" z="0.0" />
</cuboid>
<algebra val="shape" />
</type>
<type name="no shape monitor" is="monitor" />
<component type="detector-bank" idstart="2000000" idfillbyfirst="y" idstep="1000" idstepbyrow="1">
<location x="1.1" z="23.281" name="front-detector"/>
</component>
<component type="detector-bank" idstart="1000000" idfillbyfirst="y" idstep="1000" idstepbyrow="1">
<location z="23.281" name="rear-detector"/>
</component>
<type name="detector-bank" is="rectangular_detector" type="pixel"
xpixels="512" xstart="-0.48705" xstep="+0.0051"
ypixels="512" ystart="-0.48705" ystep="+0.0051" >
</type>
<type name="pixel" is="detector">
<cuboid id="shape">
<left-front-bottom-point x="0.005104167" y="-0.005104167" z="0.0" />
<left-front-top-point x="0.005104167" y="-0.005104167" z="0.000005" />
<left-back-bottom-point x="-0.005104167" y="-0.005104167" z="0.0" />
<right-front-bottom-point x="0.005104167" y="0.005104167" z="0.0" />
</cuboid>
<algebra val="shape" />
</type>
<!-- DETECTOR and MONITOR ID LISTS -->
<idlist idname="monitors">
<id start="1" end="8" />
</idlist>
</instrument>