diff --git a/instrument/D2B_Definition_2018-05-01.xml b/instrument/D2B_Definition_2018-05-01.xml new file mode 100644 index 0000000000000000000000000000000000000000..e18e8e72b48c23e458a24b07b39dc2a4b2d0fa5b --- /dev/null +++ b/instrument/D2B_Definition_2018-05-01.xml @@ -0,0 +1,325 @@ +<?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="D2B" valid-from="2018-05-01 23:59:59" +valid-to="2100-01-31 23:59:59" last-modified="2018-03-20 14:05:02"> + <!-- Author: bush@ill.fr --> + <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" /> + <theta-sign axis="x" /> + </reference-frame> + </defaults> + <!-- Source position --> + <component type="monochromator"> + <location z="-2.997" /> + </component> + <type name="monochromator" is="Source" /> + <!-- Monitor position --> + <component type="monitor" idlist="monitors"> + <location z="-1.594" name="monitor" /> + </component> + <type name="monitor" is="monitor"> + <cuboid id="shape"> + <left-front-bottom-point x="-0.005" y="-0.005" z="-0.005" /> + <left-front-top-point x="-0.005" y="0.005" z="-0.005" /> + <left-back-bottom-point x="-0.005" y="-0.005" z="0.005" /> + <right-front-bottom-point x="0.005" y="-0.005" z="-0.005" /> + </cuboid> + <algebra val="shape" /> + </type> + <idlist idname="monitors"> + <id val="0" /> + </idlist> + <!-- Sample position --> + <component type="sample-position"> + <location x="0.0" y="0.0" z="0.0" /> + </component> + <type name="sample-position" is="SamplePos" /> + <!-- Detector IDs --> + <idlist idname="detectors"> + <id start="1" end="16384" /> + </idlist> + <!-- Detector list def --> + <component type="detectors" idlist="detectors"> + <location x="0.0" y="0.0" z="0.0" /> + </component> + <type name="detectors"> + <component type="standard_tube"> + <location r="1.296" t="-6.25" name="tube_1" /> + <location r="1.296" t="-7.5" name="tube_2" /> + <location r="1.296" t="-8.75" name="tube_3" /> + <location r="1.296" t="-10.0" name="tube_4" /> + <location r="1.296" t="-11.25" name="tube_5" /> + <location r="1.296" t="-12.5" name="tube_6" /> + <location r="1.296" t="-13.75" name="tube_7" /> + <location r="1.296" t="-15.0" name="tube_8" /> + <location r="1.296" t="-16.25" name="tube_9" /> + <location r="1.296" t="-17.5" name="tube_10" /> + <location r="1.296" t="-18.75" name="tube_11" /> + <location r="1.296" t="-20.0" name="tube_12" /> + <location r="1.296" t="-21.25" name="tube_13" /> + <location r="1.296" t="-22.5" name="tube_14" /> + <location r="1.296" t="-23.75" name="tube_15" /> + <location r="1.296" t="-25.0" name="tube_16" /> + <location r="1.296" t="-26.25" name="tube_17" /> + <location r="1.296" t="-27.5" name="tube_18" /> + <location r="1.296" t="-28.75" name="tube_19" /> + <location r="1.296" t="-30.0" name="tube_20" /> + <location r="1.296" t="-31.25" name="tube_21" /> + <location r="1.296" t="-32.5" name="tube_22" /> + <location r="1.296" t="-33.75" name="tube_23" /> + <location r="1.296" t="-35.0" name="tube_24" /> + <location r="1.296" t="-36.25" name="tube_25" /> + <location r="1.296" t="-37.5" name="tube_26" /> + <location r="1.296" t="-38.75" name="tube_27" /> + <location r="1.296" t="-40.0" name="tube_28" /> + <location r="1.296" t="-41.25" name="tube_29" /> + <location r="1.296" t="-42.5" name="tube_30" /> + <location r="1.296" t="-43.75" name="tube_31" /> + <location r="1.296" t="-45.0" name="tube_32" /> + <location r="1.296" t="-46.25" name="tube_33" /> + <location r="1.296" t="-47.5" name="tube_34" /> + <location r="1.296" t="-48.75" name="tube_35" /> + <location r="1.296" t="-50.0" name="tube_36" /> + <location r="1.296" t="-51.25" name="tube_37" /> + <location r="1.296" t="-52.5" name="tube_38" /> + <location r="1.296" t="-53.75" name="tube_39" /> + <location r="1.296" t="-55.0" name="tube_40" /> + <location r="1.296" t="-56.25" name="tube_41" /> + <location r="1.296" t="-57.5" name="tube_42" /> + <location r="1.296" t="-58.75" name="tube_43" /> + <location r="1.296" t="-60.0" name="tube_44" /> + <location r="1.296" t="-61.25" name="tube_45" /> + <location r="1.296" t="-62.5" name="tube_46" /> + <location r="1.296" t="-63.75" name="tube_47" /> + <location r="1.296" t="-65.0" name="tube_48" /> + <location r="1.296" t="-66.25" name="tube_49" /> + <location r="1.296" t="-67.5" name="tube_50" /> + <location r="1.296" t="-68.75" name="tube_51" /> + <location r="1.296" t="-70.0" name="tube_52" /> + <location r="1.296" t="-71.25" name="tube_53" /> + <location r="1.296" t="-72.5" name="tube_54" /> + <location r="1.296" t="-73.75" name="tube_55" /> + <location r="1.296" t="-75.0" name="tube_56" /> + <location r="1.296" t="-76.25" name="tube_57" /> + <location r="1.296" t="-77.5" name="tube_58" /> + <location r="1.296" t="-78.75" name="tube_59" /> + <location r="1.296" t="-80.0" name="tube_60" /> + <location r="1.296" t="-81.25" name="tube_61" /> + <location r="1.296" t="-82.5" name="tube_62" /> + <location r="1.296" t="-83.75" name="tube_63" /> + <location r="1.296" t="-85.0" name="tube_64" /> + <location r="1.296" t="-86.25" name="tube_65" /> + <location r="1.296" t="-87.5" name="tube_66" /> + <location r="1.296" t="-88.75" name="tube_67" /> + <location r="1.296" t="-90.0" name="tube_68" /> + <location r="1.296" t="-91.25" name="tube_69" /> + <location r="1.296" t="-92.5" name="tube_70" /> + <location r="1.296" t="-93.75" name="tube_71" /> + <location r="1.296" t="-95.0" name="tube_72" /> + <location r="1.296" t="-96.25" name="tube_73" /> + <location r="1.296" t="-97.5" name="tube_74" /> + <location r="1.296" t="-98.75" name="tube_75" /> + <location r="1.296" t="-100.0" name="tube_76" /> + <location r="1.296" t="-101.25" name="tube_77" /> + <location r="1.296" t="-102.5" name="tube_78" /> + <location r="1.296" t="-103.75" name="tube_79" /> + <location r="1.296" t="-105.0" name="tube_80" /> + <location r="1.296" t="-106.25" name="tube_81" /> + <location r="1.296" t="-107.5" name="tube_82" /> + <location r="1.296" t="-108.75" name="tube_83" /> + <location r="1.296" t="-110.0" name="tube_84" /> + <location r="1.296" t="-111.25" name="tube_85" /> + <location r="1.296" t="-112.5" name="tube_86" /> + <location r="1.296" t="-113.75" name="tube_87" /> + <location r="1.296" t="-115.0" name="tube_88" /> + <location r="1.296" t="-116.25" name="tube_89" /> + <location r="1.296" t="-117.5" name="tube_90" /> + <location r="1.296" t="-118.75" name="tube_91" /> + <location r="1.296" t="-120.0" name="tube_92" /> + <location r="1.296" t="-121.25" name="tube_93" /> + <location r="1.296" t="-122.5" name="tube_94" /> + <location r="1.296" t="-123.75" name="tube_95" /> + <location r="1.296" t="-125.0" name="tube_96" /> + <location r="1.296" t="-126.25" name="tube_97" /> + <location r="1.296" t="-127.5" name="tube_98" /> + <location r="1.296" t="-128.75" name="tube_99" /> + <location r="1.296" t="-130.0" name="tube_100" /> + <location r="1.296" t="-131.25" name="tube_101" /> + <location r="1.296" t="-132.5" name="tube_102" /> + <location r="1.296" t="-133.75" name="tube_103" /> + <location r="1.296" t="-135.0" name="tube_104" /> + <location r="1.296" t="-136.25" name="tube_105" /> + <location r="1.296" t="-137.5" name="tube_106" /> + <location r="1.296" t="-138.75" name="tube_107" /> + <location r="1.296" t="-140.0" name="tube_108" /> + <location r="1.296" t="-141.25" name="tube_109" /> + <location r="1.296" t="-142.5" name="tube_110" /> + <location r="1.296" t="-143.75" name="tube_111" /> + <location r="1.296" t="-145.0" name="tube_112" /> + <location r="1.296" t="-146.25" name="tube_113" /> + <location r="1.296" t="-147.5" name="tube_114" /> + <location r="1.296" t="-148.75" name="tube_115" /> + <location r="1.296" t="-150.0" name="tube_116" /> + <location r="1.296" t="-151.25" name="tube_117" /> + <location r="1.296" t="-152.5" name="tube_118" /> + <location r="1.296" t="-153.75" name="tube_119" /> + <location r="1.296" t="-155.0" name="tube_120" /> + <location r="1.296" t="-156.25" name="tube_121" /> + <location r="1.296" t="-157.5" name="tube_122" /> + <location r="1.296" t="-158.75" name="tube_123" /> + <location r="1.296" t="-160.0" name="tube_124" /> + <location r="1.296" t="-161.25" name="tube_125" /> + <location r="1.296" t="-162.5" name="tube_126" /> + <location r="1.296" t="-163.75" name="tube_127" /> + <location r="1.296" t="-165.0" name="tube_128" /> + </component> + </type> + <!-- Definition of standard_tube --> + <type name="standard_tube" outline="yes"> + <component type="standard_pixel"> + <location y="-0.175865234375" /> + <location y="-0.173095703125" /> + <location y="-0.170326171875" /> + <location y="-0.167556640625" /> + <location y="-0.164787109375" /> + <location y="-0.162017578125" /> + <location y="-0.159248046875" /> + <location y="-0.156478515625" /> + <location y="-0.153708984375" /> + <location y="-0.150939453125" /> + <location y="-0.148169921875" /> + <location y="-0.145400390625" /> + <location y="-0.142630859375" /> + <location y="-0.139861328125" /> + <location y="-0.137091796875" /> + <location y="-0.134322265625" /> + <location y="-0.131552734375" /> + <location y="-0.128783203125" /> + <location y="-0.126013671875" /> + <location y="-0.123244140625" /> + <location y="-0.120474609375" /> + <location y="-0.117705078125" /> + <location y="-0.114935546875" /> + <location y="-0.112166015625" /> + <location y="-0.109396484375" /> + <location y="-0.106626953125" /> + <location y="-0.103857421875" /> + <location y="-0.101087890625" /> + <location y="-0.098318359375" /> + <location y="-0.095548828125" /> + <location y="-0.092779296875" /> + <location y="-0.090009765625" /> + <location y="-0.087240234375" /> + <location y="-0.084470703125" /> + <location y="-0.081701171875" /> + <location y="-0.078931640625" /> + <location y="-0.076162109375" /> + <location y="-0.073392578125" /> + <location y="-0.070623046875" /> + <location y="-0.067853515625" /> + <location y="-0.065083984375" /> + <location y="-0.062314453125" /> + <location y="-0.059544921875" /> + <location y="-0.056775390625" /> + <location y="-0.054005859375" /> + <location y="-0.051236328125" /> + <location y="-0.048466796875" /> + <location y="-0.045697265625" /> + <location y="-0.042927734375" /> + <location y="-0.040158203125" /> + <location y="-0.037388671875" /> + <location y="-0.034619140625" /> + <location y="-0.031849609375" /> + <location y="-0.029080078125" /> + <location y="-0.026310546875" /> + <location y="-0.023541015625" /> + <location y="-0.020771484375" /> + <location y="-0.018001953125" /> + <location y="-0.015232421875" /> + <location y="-0.012462890625" /> + <location y="-0.009693359375" /> + <location y="-0.006923828125" /> + <location y="-0.004154296875" /> + <location y="-0.001384765625" /> + <location y="0.001384765625" /> + <location y="0.004154296875" /> + <location y="0.006923828125" /> + <location y="0.009693359375" /> + <location y="0.012462890625" /> + <location y="0.015232421875" /> + <location y="0.018001953125" /> + <location y="0.020771484375" /> + <location y="0.023541015625" /> + <location y="0.026310546875" /> + <location y="0.029080078125" /> + <location y="0.031849609375" /> + <location y="0.034619140625" /> + <location y="0.037388671875" /> + <location y="0.040158203125" /> + <location y="0.042927734375" /> + <location y="0.045697265625" /> + <location y="0.048466796875" /> + <location y="0.051236328125" /> + <location y="0.054005859375" /> + <location y="0.056775390625" /> + <location y="0.059544921875" /> + <location y="0.062314453125" /> + <location y="0.065083984375" /> + <location y="0.067853515625" /> + <location y="0.070623046875" /> + <location y="0.073392578125" /> + <location y="0.076162109375" /> + <location y="0.078931640625" /> + <location y="0.081701171875" /> + <location y="0.084470703125" /> + <location y="0.087240234375" /> + <location y="0.090009765625" /> + <location y="0.092779296875" /> + <location y="0.095548828125" /> + <location y="0.098318359375" /> + <location y="0.101087890625" /> + <location y="0.103857421875" /> + <location y="0.106626953125" /> + <location y="0.109396484375" /> + <location y="0.112166015625" /> + <location y="0.114935546875" /> + <location y="0.117705078125" /> + <location y="0.120474609375" /> + <location y="0.123244140625" /> + <location y="0.126013671875" /> + <location y="0.128783203125" /> + <location y="0.131552734375" /> + <location y="0.134322265625" /> + <location y="0.137091796875" /> + <location y="0.139861328125" /> + <location y="0.142630859375" /> + <location y="0.145400390625" /> + <location y="0.148169921875" /> + <location y="0.150939453125" /> + <location y="0.153708984375" /> + <location y="0.156478515625" /> + <location y="0.159248046875" /> + <location y="0.162017578125" /> + <location y="0.164787109375" /> + <location y="0.167556640625" /> + <location y="0.170326171875" /> + <location y="0.173095703125" /> + <location y="0.175865234375" /> + </component> + </type> + <type name="standard_pixel" is="detector"> + <cylinder id="shape"> + <centre-of-bottom-base x="0.0" y="-0.001384765625" z="0.0" /> + <axis x="0.0" y="1.0" z="0.0" /> + <radius val="0.000565486605872" /> + <height val="0.00276953125" /> + </cylinder> + <algebra val="shape" /> + </type> +</instrument> diff --git a/instrument/D2B_Parameters_2018-05-01.xml b/instrument/D2B_Parameters_2018-05-01.xml new file mode 100644 index 0000000000000000000000000000000000000000..60cb21e252886b3817b7a8d54bb60486bdfdb598 --- /dev/null +++ b/instrument/D2B_Parameters_2018-05-01.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<parameter-file instrument="D2B" valid-from="2018-05-01 23:59:59"> + <component-link name="D2B"> + + <!-- The detector name for the height axis used in SumOverlappingTubes --> + <parameter name="detector_for_height_axis" type="string"> + <value val="tube_1" /> + </parameter> + + <!-- The flag for mirroring the angles in SumOverlappingTubes --> + <parameter name="mirror_scattering_angles" type="bool"> + <value val="True" /> + </parameter> + + <!-- Number of pixels to trim from the top and the bottom of the tubes when + calculating the chiˆ2 in the detector efficiencies in case of autoiterations --> + <parameter name="pixels_to_trim" type="int"> + <value val="28" /> + </parameter> + + <!-- The chiˆ2/NdoF threshold for termination of autoiterations + in detector efficiency calculation --> + <parameter name="chi2_ndof" type="float"> + <value val="0.01" /> + </parameter> + + <!-- The central pixel indices of the tubes; these must be rounded!--> + <parameter name="tube_centers" type="string"> + <value val="71,64,66,69,68,68,67,70,66,71,69,66,71,68,67,71, + 68,69,66,70,67,70,68,68,67,69,68,67,68,68,69,69, + 65,67,66,68,67,68,67,67,67,70,68,69,66,67,67,66, + 67,67,67,67,66,66,66,69,66,68,72,64,66,68,63,68, + 68,68,69,68,67,70,68,71,64,70,67,70,69,70,69,68, + 66,70,70,66,66,69,66,68,67,69,67,66,69,66,66,70, + 70,68,68,71,66,69,67,68,72,68,68,70,68,69,68,70, + 67,70,69,68,64,69,68,68,69,70,71,68,68,69,70,67"/> + </parameter> + + <!-- Relative 2theta positions of the tubes wrt the last tube --> + <parameter name="tube_angles" type="string"> + <value val="-158.750,-157.500,-156.250,-155.000,-153.750,-152.500, + -151.250,-150.000,-148.750,-147.500,-146.250,-145.000, + -143.750,-142.500,-141.250,-140.000,-138.750,-137.500, + -136.250,-135.000,-133.750,-132.500,-131.262,-130.027, + -128.764,-127.501,-126.262,-124.986,-123.744,-122.488, + -121.250,-119.996,-118.749,-117.503,-116.240,-115.000, + -113.760,-112.510,-111.225,-110.011,-108.726,-107.537, + -106.240,-104.974,-103.739,-102.491,-101.254,-99.9934, + -98.7551,-97.5007,-96.2569,-94.9937,-93.7413,-92.5081, + -91.2396,-89.9824,-88.7602,-87.5170,-86.2329,-84.9932, + -83.7641,-82.5050,-81.2662,-79.9966,-78.7527,-77.5035, + -76.2564,-74.9872,-73.7477,-72.5086,-71.2457,-70.0003, + -68.7467,-67.4861,-66.2499,-65.0244,-63.7557,-62.5025, + -61.2484,-59.9862,-58.7416,-57.4992,-56.2372,-54.9913, + -53.7547,-52.4989,-51.2399,-50.0088,-48.7492,-47.4948, + -46.2517,-45.0034,-43.7366,-42.4932,-41.2465,-39.9866, + -38.7377,-37.5183,-36.2678,-35.0202,-33.7731,-32.4958, + -31.2734,-30.0018,-28.7291,-27.4887,-26.2319,-24.9728, + -23.7554,-22.4771,-21.2376,-20.0052,-18.7470,-17.5007, + -16.2531,-14.9891,-13.7492,-12.5056,-11.2798,-10.0067, + -8.73692,-7.50000,-6.25000,-5.00000,-3.75000,-2.50000, + -1.25000,0.000000"/> + </parameter> + </component-link> +</parameter-file>