McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: ISIS_TOSCA_preupgrade_Mantid

[ Identification | Description | Input parameters | Links ]

The ISIS_TOSCA_preupgrade_Mantid Instrument

TOSCA (pre-upgrade) at ISIS with Mantid support.


  • Site: ISIS
  • Author: Peter Willendrup (DTU/ESS), Sanghamitra Mukhopadhyay (ISIS STFC)
  • Origin: DTU/ESS/ISIS
  • Date: September 2018


The model at hand is adapted from an earlier model by M.Zanetti and represents the
TOSCA instrument as it looked prior to the recent upgrade. The model at hand was
adapted during the MDANSE2018 workshop ( and by
default uses a model of the incoherent scattering from Benzene, created using
CASTEP ( ) and converted to Sqw format iFit (

The model is naturally very challenging to run because of the indirect TOF geometry
and would benefit from an adaptive sampling approach.

Please follow instructions at
to compile with NeXus and generate a Mantid-IDF before attempting to use with Mantid.

To generate the right flightpath length in Mantid, this version of the instrument has
been created with transmitting rather than reflecting analysers, and the detectors are hence
also positioned differently than in the physical instrument.

Example: ISIS_TOSCA_preupgrade_Mantid.instr inc=Benzene_inc_CASTEP_MDANSE2018.sqw eventmode=1 --format=NeXus -n1e7

Input parameters

Parameters in boldface are required; the others are optional.
incfilenameIncoherent scattering model to use"Benzene_inc_CASTEP_MDANSE2018.sqw"
zdepthmThickness of sample0.002
EminmeVMinimum energy to generate at the source0.01
EmaxmeVMaximum energy to generate at the source500
eventmodebooleanFlag to enable event monitors0


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43

Last Modified: Wednesday, 03-Jan-2024 19:59:11 CET
Search website mailinglist archive GitHub repos