This folder contains a few useful pieces for completing the TORAX exercise.

Assuming you are in the EPFL computer lab, to get started with the TORAX exercise just double click the `run_torax.bat` script.

`run_torax.bat` - Click to install TORAX and launch a jupyter notebook in which the exercise can be done.
`torax` - Directory containing the TORAX library
`qlknn-hyper` - Directory containing network parameters for the QLKNN model.
`TORAX_exercise.ipynb` - The notebook containing helpful plotting and utility methods for running TORAX and analysing results. See the API section for a description of how to use.



The `run_torax.bat` script is written to work on the EPFL lab computers. If you are running Windows you could also replace the first line of the script to point to your python binary instead i.e. 

"C:\Program Files\Python312\python" -m venv .venv -> python -m venv .venv

If you have issues with the `run_torax.bat` script you can open the script in a text editor and paste the commands into a "Command Prompt".

If activating virtualenv doesn’t work for permissions reasons, open up Powershell in Administrator mode and set the execution policy. Try reactivating the virtualenv afterwards.
`Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force`


