Skip to main content

POLARIS tof template

POLARIS time-of-flight example

Learning outcomes: use of a prewritten template for time-of-flight data

Files needed: zip file of data

1. For time-of-flight data it’s normally easiest to work with a pre-written template file that has the correct structure to fit (multiple) strs to multiple banks. Some templates are available via the topas-editor “TOPAS_Durham/Neutron tof” menu. Others can be obtained from instrument scientists.

2. There’s an example of doing a single-bank Rietveld fit for ZrW2O8 in a separate tutorial.

3. This tutorial fits Si standard data recorded on POLARIS.

4. Save the data to your directory and unzip the file.

5. In topas-editor go to “TOPAS_Durham/Neutron tof”. Select the template for POLARIS 2025. Save the file with a sensible name.

6. As with any template the minimum changes needed are lines starting with a purple arrow “->”.

7. This template has the correct values for Si, so just delete the arrows “->”. The one line specific to your computer is “->macro data_directory { ** }”. If the data are in the same directory as the INP file put a blank space in the {} brackets. I normaly keep the data in a separate directory. You can use relative paths. e.g. { ..\data\ } if the data is one level up in a folder called “data”. You need the trailing slash.

7 Run the file.