The facilities file, called facilities.xml, contains properties of facilities and instruments that Mantid is aware of. In order for Mantid to function correctly for your facility then the facilities file should contain the appropriate definitions as defined below.
Each facility is described using XML with an instrument defined as a sub component of a facility. A simple facility definition would be
<?xml version="1.0" encoding="UTF-8"?>
<facilities>
<facility name="BrandNew" delimiter="_" zeropadding="8" FileExtensions=".nxs,.n*">
<instrument name="ABCDEF"/>
</facility>
</facilities>
which would define a facility called BrandNew with an instrument called ABCDEF. The facilities attributes have the following meanings:
An instrument can have further attributes which define properties of the that instrument rather than the facility as a whole, e.g.
<?xml version="1.0" encoding="UTF-8"?>
<facilities>
<facility name="BrandNew" zeropadding="8" FileExtensions=".nxs,.n*">
<instrument name="ABCDEF" shortName="ABC">
<technique>Tech 1</technique>
<technique>Tech 2</technique>
<zeropadding size="12" startRunNumber="12345" prefix="FEDCBA"></zeropadding>
<zeropadding size="15" startRunNumber="54321" prefix="ZYXWUV"></zeropadding>
</instrument>
</facility>
</facilities>
where the attributes are defined as:
The file should be located in the directory pointed to by the instrumentDefinition.directory key in the .properties file.
Category: Concepts