Introduction

TOPAS Automator is a tool to help working exclusively with simulations regarding neutron resistive plate chambers (nRPCs) in the TOPAS MC toolkit. The program provides different setups, but all of them fall within the spectrum of detecting neutrons through nRPCs.

The one and only purpose of this program is to automate and simplify the creation of the inputs to run with TOPAS. No more writing endless .txt files! With TOPAS Automator, you just make your way through the interface, and it creates the file you will need to run your simulation in TOPAS.

About

TOPAS Automator was created as part of one of many LIP internships at the NUC-RIA group in the year 2023. Carolina Felgueiras (M.Sc. at the time) was working with the detection of neutrons using resistive plate chambers and was running her simulations in the TOPAS framework. Her work required to run several simulations with different setups and this internship came as a way to help her automize this process.

And so, entered the internee Tomás Campante (B.Sc. at the time), who helped Carolina in her work during the summer months of 2023 by creating the TOPAS Automator interface.

Download & Installation

Click here to access the TOPAS Automator Download page.

Before running the topasautomator.py file with python3, make sure you have the Tkinter and Pillow modules from Python on your machine.

To do so, if you are on Windows or Linux, open your terminal and type in (one line at a time).

python [get-pip.py](<http://get-pip.py/>)

pip install Pillow
pip install tk

If you are on macOS and get some kind of error using the pip command, try this one instead:

pip3 install Pillow
brew install python-tk

If you are on Linux and still get some kind of error, you’ll want to try running the following lines in your terminal: