Skip to content

Where to find examples

Casper da Costa-Luis edited this page Nov 25, 2024 · 1 revision

The STIR documentation is probably not enough to get you going. We therefore have same explicit examples. You can find these as follows

  • On GitHub https://github.com/UCL/STIR/tree/master/examples/ (you might need to check the version and switch to the appropriate release)
  • If you downloaded the STIR source, in STIR/examples
  • If you used conda (or another way to get a pre-compiled version of STIR):
    • since STIR 5.1

  stir_config --examples-dir

    • STIR 5.0 (or a conda version where the above gives the incorrect location)

  stir_config --config-dir

which will report something like C:\Users\kris\miniconda3\envs\stir\Library\share\stir\config. Go 2 folders up and find it in the doc folder, e.g. in my case C:\Users\kris\miniconda3\envs\stir\Library\share\doc\stir-5.1.

Please also check the (by now somewhat old but hopefully still useful) STIR-exercises at https://github.com/UCL/STIR-exercises