conda is the easiest way to install STIR. Check our Wiki page for help.
To get the source code and build STIR yourself, we highly recommend to use git:
git clone --recurse-submodules https://github.com/UCL/STIR
# this will put you on the master branch. If you want to switch to a release:
git checkout --recurse-submodules rel_6.3.0
If you do not want to use git, please check STIR releases on GitHub.
Scroll down to the bottom of a release for links for the source code.Below are links to documentation. You will probably want to shift-click, right-click, control-click or whatever on these, such that your browser does not attempt to open the archives.
Warning:
Because of some unfortunate incompatibilities between Interfile 3.3 and the version of Interfile
used by STIR, both AMIDE and xmedcon ignore the file offset field in .hv files,
so if your the binary data does not start at file offset zero, import
into these programs will fail. You can then try the .ahv files, but this will ignore any
scale factor in the header.
Luckily, all .hv files produced by STIR have file offset 0, except those produced by
ifheaders_for_ecat7 or when reading DICOM or Nifti files.
Of course, AMIDE and xmedcon read ECAT7 files directly.
gdb /wherever/it/is/STIR/debug/analytic/FBP2D/FBP2D gdb> cd /wherever/the/data/is gdb> r myparameterfile (wait till segmentation fault) gdb> info stack (some more gdb commands) gdb> quitIdeally you then have a look at the value of some of the variables (use "p variablename"), maybe after moving up the call-stack ("up").
You are very (very) welcome to contribute to STIR. As STIR is Open Source, you can distribute your work (including the rest of STIR) yourself. However, it would of course be better to get your work included into the "official" STIR distribution from this web-site. See our page with more information.
Back to contentsPlease register on our mailing lists. Questions about our software will ONLY be answered when directed to one of the mailing lists or via GitHub issues.
After extracting the files, please check STIR/buildblock/Scanner.cxx to see if the parameters of your scanner are correct. If not, let us know. You might want to tell us about some more names for your scanner. (These names are used to recognise the scanner in the Interfile header file (*.hs)).
Back to contentsLast modified: Jan 13 2025