-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
322 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
<?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 name="LARMOR" valid-from ="1900-01-31 23:59:59" | ||
valid-to ="2100-01-31 23:59:59" | ||
last-modified="2012-03-04 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 LARMOR 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="25.300"/> | ||
</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="9.8195" name="monitor1"/> | ||
<location z="20.313" name="monitor2"/> | ||
<location z="24.7" name="monitor3"/> | ||
</component> | ||
<component type="Moderator-Monitor4"> | ||
<!-- transmisssion detector, either in or out of beam --> | ||
<location z="25.700" name="monitor4"/> | ||
</component> | ||
<component type="monitor-tbd"> | ||
<!-- better positions and shapes will be defined later --> | ||
<location z="29.900" name="monitor5"/> | ||
</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"/> | ||
<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-Monitor4" 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="DetectorBench"> | ||
<location x="0" y="0" z="25.300"/> | ||
</component> | ||
|
||
<type name="DetectorBench"> | ||
<component type="LARMORSANSDetector" idlist="LARMORSANSDetector"> | ||
<location z="4.406" /> | ||
</component> | ||
</type> | ||
|
||
<type name="LARMORSANSDetector"> | ||
<component type="LARMORUptube"> | ||
<location x=" -0.316 " name="tube1"/> | ||
<location x=" -0.3 " name="tube3"/> | ||
<location x=" -0.284 " name="tube5"/> | ||
<location x=" -0.268 " name="tube7"/> | ||
<location x=" -0.252 " name="tube9"/> | ||
<location x=" -0.236 " name="tube11"/> | ||
<location x=" -0.22 " name="tube13"/> | ||
<location x=" -0.204 " name="tube15"/> | ||
<location x=" -0.188 " name="tube17"/> | ||
<location x=" -0.172 " name="tube19"/> | ||
<location x=" -0.156 " name="tube21"/> | ||
<location x=" -0.14 " name="tube23"/> | ||
<location x=" -0.124 " name="tube25"/> | ||
<location x=" -0.108 " name="tube27"/> | ||
<location x=" -0.092 " name="tube29"/> | ||
<location x=" -0.076 " name="tube31"/> | ||
<location x=" -0.06 " name="tube33"/> | ||
<location x=" -0.044 " name="tube35"/> | ||
<location x=" -0.028 " name="tube37"/> | ||
<location x=" -0.012 " name="tube39"/> | ||
<location x=" 0.004 " name="tube41"/> | ||
<location x=" 0.02 " name="tube43"/> | ||
<location x=" 0.036 " name="tube45"/> | ||
<location x=" 0.052 " name="tube47"/> | ||
<location x=" 0.068 " name="tube49"/> | ||
<location x=" 0.084 " name="tube51"/> | ||
<location x=" 0.1 " name="tube53"/> | ||
<location x=" 0.116 " name="tube55"/> | ||
<location x=" 0.132 " name="tube57"/> | ||
<location x=" 0.148 " name="tube59"/> | ||
<location x=" 0.164 " name="tube61"/> | ||
<location x=" 0.18 " name="tube63"/> | ||
<location x=" 0.196 " name="tube65"/> | ||
<location x=" 0.212 " name="tube67"/> | ||
<location x=" 0.228 " name="tube69"/> | ||
<location x=" 0.244 " name="tube71"/> | ||
<location x=" 0.26 " name="tube73"/> | ||
<location x=" 0.276 " name="tube75"/> | ||
<location x=" 0.292 " name="tube77"/> | ||
<location x=" 0.308 " name="tube79"/> | ||
</component> | ||
<component type="LARMORDowntube"> | ||
<location x=" -0.308 " name="tube2"/> | ||
<location x=" -0.292 " name="tube4"/> | ||
<location x=" -0.276 " name="tube6"/> | ||
<location x=" -0.26 " name="tube8"/> | ||
<location x=" -0.244 " name="tube10"/> | ||
<location x=" -0.228 " name="tube12"/> | ||
<location x=" -0.212 " name="tube14"/> | ||
<location x=" -0.196 " name="tube16"/> | ||
<location x=" -0.18 " name="tube18"/> | ||
<location x=" -0.164 " name="tube20"/> | ||
<location x=" -0.148 " name="tube22"/> | ||
<location x=" -0.132 " name="tube24"/> | ||
<location x=" -0.116 " name="tube26"/> | ||
<location x=" -0.1 " name="tube28"/> | ||
<location x=" -0.084 " name="tube30"/> | ||
<location x=" -0.068 " name="tube32"/> | ||
<location x=" -0.052 " name="tube34"/> | ||
<location x=" -0.036 " name="tube36"/> | ||
<location x=" -0.02 " name="tube38"/> | ||
<location x=" -0.004 " name="tube40"/> | ||
<location x=" 0.012 " name="tube42"/> | ||
<location x=" 0.028 " name="tube44"/> | ||
<location x=" 0.044 " name="tube46"/> | ||
<location x=" 0.06 " name="tube48"/> | ||
<location x=" 0.076 " name="tube50"/> | ||
<location x=" 0.092 " name="tube52"/> | ||
<location x=" 0.108 " name="tube54"/> | ||
<location x=" 0.124 " name="tube56"/> | ||
<location x=" 0.14 " name="tube58"/> | ||
<location x=" 0.156 " name="tube60"/> | ||
<location x=" 0.172 " name="tube62"/> | ||
<location x=" 0.188 " name="tube64"/> | ||
<location x=" 0.204 " name="tube66"/> | ||
<location x=" 0.22 " name="tube68"/> | ||
<location x=" 0.236 " name="tube70"/> | ||
<location x=" 0.252 " name="tube72"/> | ||
<location x=" 0.268 " name="tube74"/> | ||
<location x=" 0.284 " name="tube76"/> | ||
<location x=" 0.3 " name="tube78"/> | ||
<location x=" 0.316 " name="tube80"/> | ||
</component> | ||
</type> | ||
|
||
<type name="LARMORUptube" outline="yes"> | ||
<component type="pixel"> | ||
<locations y="-0.3" y-end="0.3" n-elements="512" /> | ||
</component> | ||
</type> | ||
|
||
<type name="LARMORDowntube" outline="yes"> | ||
<component type="pixel"> | ||
<locations y="-0.3" y-end="0.3" n-elements="512" /> | ||
</component> | ||
</type> | ||
|
||
<type name="pixel" is="detector"> | ||
<cylinder id="cyl-approx"> | ||
<centre-of-bottom-base r="0.0" t="0.0" p="0.0" /> | ||
<axis x="0.0" y="0.2" z="0.0" /> | ||
<radius val="0.004" /> | ||
<height val=" 1.171875E-3" /> | ||
</cylinder> | ||
<algebra val="cyl-approx" /> | ||
</type> | ||
|
||
<!-- DETECTOR and MONITOR ID LISTS --> | ||
|
||
<idlist idname="monitors"> | ||
<id start="1" end="10" /> | ||
</idlist> | ||
|
||
<idlist idname="LARMORSANSDetector"> | ||
<id start="1108000" end="1108511" /> | ||
<id start="1110000" end="1110511" /> | ||
<id start="1112000" end="1112511" /> | ||
<id start="1114000" end="1114511" /> | ||
<id start="1116000" end="1116511" /> | ||
<id start="1118000" end="1118511" /> | ||
<id start="1120000" end="1120511" /> | ||
<id start="1122000" end="1122511" /> | ||
<id start="1200000" end="1200511" /> | ||
<id start="1202000" end="1202511" /> | ||
<id start="1204000" end="1204511" /> | ||
<id start="1206000" end="1206511" /> | ||
<id start="1208000" end="1208511" /> | ||
<id start="1210000" end="1210511" /> | ||
<id start="1212000" end="1212511" /> | ||
<id start="1214000" end="1214511" /> | ||
<id start="1216000" end="1216511" /> | ||
<id start="1218000" end="1218511" /> | ||
<id start="1220000" end="1220511" /> | ||
<id start="1222000" end="1222511" /> | ||
<id start="1300000" end="1300511" /> | ||
<id start="1302000" end="1302511" /> | ||
<id start="1304000" end="1304511" /> | ||
<id start="1306000" end="1306511" /> | ||
<id start="1308000" end="1308511" /> | ||
<id start="1310000" end="1310511" /> | ||
<id start="1312000" end="1312511" /> | ||
<id start="1314000" end="1314511" /> | ||
<id start="1316000" end="1316511" /> | ||
<id start="1318000" end="1318511" /> | ||
<id start="1320000" end="1320511" /> | ||
<id start="1322000" end="1322511" /> | ||
<id start="1400000" end="1400511" /> | ||
<id start="1402000" end="1402511" /> | ||
<id start="1404000" end="1404511" /> | ||
<id start="1406000" end="1406511" /> | ||
<id start="1408000" end="1408511" /> | ||
<id start="1410000" end="1410511" /> | ||
<id start="1412000" end="1412511" /> | ||
<id start="1414000" end="1414511" /> | ||
|
||
<id start="1109000" end="1109511" /> | ||
<id start="1111000" end="1111511" /> | ||
<id start="1113000" end="1113511" /> | ||
<id start="1115000" end="1115511" /> | ||
<id start="1117000" end="1117511" /> | ||
<id start="1119000" end="1119511" /> | ||
<id start="1121000" end="1121511" /> | ||
<id start="1123000" end="1123511" /> | ||
<id start="1201000" end="1201511" /> | ||
<id start="1203000" end="1203511" /> | ||
<id start="1205000" end="1205511" /> | ||
<id start="1207000" end="1207511" /> | ||
<id start="1209000" end="1209511" /> | ||
<id start="1211000" end="1211511" /> | ||
<id start="1213000" end="1213511" /> | ||
<id start="1215000" end="1215511" /> | ||
<id start="1217000" end="1217511" /> | ||
<id start="1219000" end="1219511" /> | ||
<id start="1221000" end="1221511" /> | ||
<id start="1223000" end="1223511" /> | ||
<id start="1301000" end="1301511" /> | ||
<id start="1303000" end="1303511" /> | ||
<id start="1305000" end="1305511" /> | ||
<id start="1307000" end="1307511" /> | ||
<id start="1309000" end="1309511" /> | ||
<id start="1311000" end="1311511" /> | ||
<id start="1313000" end="1313511" /> | ||
<id start="1315000" end="1315511" /> | ||
<id start="1317000" end="1317511" /> | ||
<id start="1319000" end="1319511" /> | ||
<id start="1321000" end="1321511" /> | ||
<id start="1323000" end="1323511" /> | ||
<id start="1401000" end="1401511" /> | ||
<id start="1403000" end="1403511" /> | ||
<id start="1405000" end="1405511" /> | ||
<id start="1407000" end="1407511" /> | ||
<id start="1409000" end="1409511" /> | ||
<id start="1411000" end="1411511" /> | ||
<id start="1413000" end="1413511" /> | ||
<id start="1415000" end="1415511" /> | ||
|
||
</idlist> | ||
|
||
</instrument> |