Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Adding a New Instrument

Jamie edited this page Jan 30, 2018 · 10 revisions

This is a guide adding a new instrument to autoreduction.

  1. Contact Christopher Moreton-Smith to give you permission to write to the \\isis\inst$\NDX<instrument>\user\scripts\autoreduction folder. This is where the autoreduction scripts, reduce.py and reduce_vars.py, should be stored.

  2. Add the instrument name to the ceph_instruments list in the settings.py file in the AutoreductionProcessor folder on the analysis machine. This means the reduced data will stored on the CEPH (this will soon be the only option so this step will be redundant).

  3. Add the instrument to the EndOfRunMonitor.py instruments list so new runs from this instrument will be picked up.

  4. There’s a samba share hosted by the autoreduce.isis.cclrc.ac.uk machine (/home/autoreduce/InstrumentFiles/) that is used to hold calibration files that are used in the autoreduction process by mantid. The folder mantid looks at is defined in the mantid properties file /home/isisautoreduce/.mantid/Mantid.user.properties.

  5. If the reduction script requires the user of the Mantid built in scripts, (for example the diffraction instruments use the isis_powder module), then add the location of the module to the PYTHONPATH with export PYTHONPATH="${PYTHONPATH}:/opt/Mantid/scripts/Diffraction/"

Clone this wiki locally