diff --git a/instrument/Facilities.xml b/instrument/Facilities.xml index a428dcc438400384e0cb33b72edf489338594f50..05b51f16287f56e4bcca91f1d85e8f9982bf75e8 100644 --- a/instrument/Facilities.xml +++ b/instrument/Facilities.xml @@ -459,6 +459,10 @@ <technique>Imaging</technique> <technique>Tomography</technique> </instrument> + + <instrument name="SWANS" shortname="SWANS" beamline="7"> + <technique>Small Wide Angle Scattering</technique> + </instrument> <livedata listener="SNSLiveEventDataListener"/> diff --git a/instrument/SWANS_Definition.xml b/instrument/SWANS_Definition.xml new file mode 100644 index 0000000000000000000000000000000000000000..634513dfd93ab0e4da2ffa1c028bda56318f68de --- /dev/null +++ b/instrument/SWANS_Definition.xml @@ -0,0 +1,63 @@ +<?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="SWANS" valid-from="1900-01-31 23:59:59" valid-to="2100-01-31 23:59:59" +last-modified="2014-01-30 20:51:16"> + <!-- Author: ferrazlealrm@ornl.gov --> + <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> + <!--Moderator --> + <component type="moderator"> + <location z="-22" /> + </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" /> + <component type="detectors"> + <location /> + </component> + + <!-- Detector Panels --> + <type name="detectors"> + <component type="back_detector" idstart="1" idfillbyfirst="y" idstep="128" idstepbyrow="1"> + <location z='2' /> + </component> + </type> + + <!-- Definition of every bank --> + <!-- Back detector: 640 x 640 mm --> + <type name="back_detector" is="rectangular_detector" type="pixel_rectangular" + xpixels="128" xstart="0.208" xstep="-0.00325" + ypixels="128" ystart="-0.208" ystep="0.00325"> + <properties /> + </type> + + + + <!-- Pixel for Detectors: 5x2.5 mm --> + <type is="detector" name="pixel_rectangular"> + <cuboid id="pixel-shape"> + <left-front-bottom-point y="-0.001625" x="-0.001625" z="0.0" /> + <left-front-top-point y="0.001625" x="-0.001625" z="0.0" /> + <left-back-bottom-point y="-0.001625" x="-0.001625" z="-0.0001" /> + <right-front-bottom-point y="-0.001625" x="0.001625" z="0.0" /> + </cuboid> + <algebra val="pixel-shape" /> + </type> +</instrument> diff --git a/instrument/SWANS_Parameters.xml b/instrument/SWANS_Parameters.xml new file mode 100644 index 0000000000000000000000000000000000000000..75de3ffcc3bfe2e834c9953307c8c305a486ec99 --- /dev/null +++ b/instrument/SWANS_Parameters.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<parameter-file instrument = "SWANS" valid-from = "16th February 2016"> + + <component-link name="SWANS"> + + <parameter name="number-of-x-pixels"> + <value val="128"/> + </parameter> + + <parameter name="number-of-y-pixels"> + <value val="128"/> + </parameter> + + <parameter name="x-pixel-size"> + <value val="3.25"/> + </parameter> + + <parameter name="y-pixel-size"> + <value val="3.25"/> + </parameter> + + </component-link> +</parameter-file>