forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DNS-PSD_Definition.xml
85 lines (83 loc) · 2.97 KB
/
DNS-PSD_Definition.xml
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
<?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 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd"
name="DNS-PSD" valid-from="2018-05-01 23:59:59" valid-to="2100-01-31 23:59:59" last-modified="2018-07-11 10:17:17">
<!-- Author: t.mueller@fz-juelich.de -->
<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>
</defaults>
<!-- chopper -->
<component type="moderator">
<location z="-0.4" />
</component>
<type name="moderator" is="Source"></type>
<!-- Sample position -->
<component type="sample-position">
<location y="0.0" x="0.0" z="0.0" />
</component>
<type name="sample-position" is="SamplePos" />
<!-- Detector IDs -->
<idlist idname="psd_detectors">
<id start="1000" end="123879" />
</idlist>
<!-- Detector list def -->
<component type="psd_detectors" idlist="psd_detectors">
<location />
</component>
<!-- Detector Banks -->
<type name="psd_detectors">
<component type="psd_banks">
<location>
<parameter name="r-position">
<value val="0"/>
</parameter>
<parameter name="t-position">
<logfile id="deterota" eq="5.5+value" extract-single-value-as="first_value"/>
</parameter>
<parameter name="p-position">
<value val="0"/>
</parameter>
<parameter name="rotx">
<value val="0"/>
</parameter>
<parameter name="roty">
<logfile id="deterota" eq="5.5+value" extract-single-value-as="first_value"/>
</parameter>
<parameter name="rotz">
<value val="0"/>
</parameter>
</location>
</component>
</type>
<!-- Definition of the PSD detector bank (made of 128 tubes each with 960 pixel) -->
<type name="psd_banks">
<component type="psd_tube">
<locations r="0.878000" t="5.5000000" t-end="145.532" p="0.0" name="psdtube_" n-elements="128" />
</component>
</type>
<!-- Definition of psd_tube -->
<type name="psd_tube">
<component type="psd_pixel">
<locations y="-0.513" y-end="0.447" n-elements="960" name="psdpixel_"/>
</component>
</type>
<type name="psd_pixel" is="detector">
<cylinder id="shape">
<centre-of-bottom-base x="0.0" y="-0.0005" z="0.0" />
<axis x="0.0" y="1.0" z="0.0" />
<radius val="0.00635" />
<height val="0.001" />
</cylinder>
<algebra val="shape" />
</type>
</instrument>