stir-gate-connection

Example files on how to run STIR on GATE data

https://github.com/ucl/stir-gate-connection

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Example files on how to run STIR on GATE data

Basic Info
  • Host: GitHub
  • Owner: UCL
  • Language: Shell
  • Default Branch: master
  • Size: 327 KB
Statistics
  • Stars: 16
  • Watchers: 5
  • Forks: 11
  • Open Issues: 16
  • Releases: 1
Created about 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme Zenodo

README.md

STIR-GATE-Connection

zenodo-badge

Author: Robert Twyman
Author: Ludovica Brusaferri
Author: Elise Emond
Author: Francesca Leek
Author: Vesna Cuplov
Author: Kris Thielemans
Copyright (C) 2014-2020 University College London
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0.txt
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

The purpose of this project is to provide a simple method to: - create a GATE compatible voxelised phantom from a STIR parameter files or interfiles using STIR functionality, - setup and run GATE in cluster array jobs, - combine and unlist root files into STIR compatible sinograms for reconstruction, and - compute normalisation factors, scatter correction, and random correction from the measured GATE data using STIR.

See STIR-GATE-Connection/VoxelisedSimulation/README.md for a Tutorial.

New to STIR? Checkout the website (http://stir.sourceforge.net/) and github (https://github.com/UCL/STIR). New to GATE? Checkout their website (http://www.opengatecollaboration.org/) and their incredibly useful UsersGuide (https://opengate.readthedocs.io/en/latest/index.html).

Requirements

This project is reliant on: ROOT, current STIR master branch (https://github.com/UCL/STIR/tree/master) installed with ROOT support, and GATE version 9.0. GATE has dependancy on Geant4 and ROOT. Both STIR install bin and GATE bin must be in your PATH.

STIR-GATE-Connection requires the SGCPATH enviromental variable to be set to this primary directory (containing this README file). Many scripts use this variable when executing sub-scripts.

The project is designed to be run on Linux or Unix (MacOS does normally work) using Shell/Bash/Zsh. Furthermore, the project uses programs, such as sed and awk, for various manipulations.

Directories

  • ExamplesOfScannersMacros/: Contains examples of macros for creating a scanner in GATE.
  • ExamplesOfPhantomMacros/: Contains examples of macros and STIR parameter files for creating/importing source and attenuation phantoms.
  • VoxelisedSimulation/: Main GATE simulation directory.
  • ExampleReconstruction/: Contains example scripts for iterative reconstruction using STIR, e.g. OSEM.
  • DataCorrectionsComputation/: Contains scripts to compute the data corrections for iterative image reconstruction, including: normalisation and attentuation correction coefficients, plus randoms and scattered estimations of the measured data.

Files

  • this_SGC.sh: This script sets the SGCPATH enviromental variable. It also adds SGCPATH to PATH. Additional enviromental variables are added for the major project directories. See script for more details.

Acknowledgements

Additional help with testing an early stage of the macros: - Catherine Scott (UCL/UCLH) - Ana Margarida Motta (Universidade de Lisboa)

Owner

  • Name: University College London
  • Login: UCL
  • Kind: organization
  • Email: rc-softdev@ucl.ac.uk

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 7
  • Push event: 1
  • Pull request event: 1
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 7
  • Push event: 1
  • Pull request event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 54
  • Total pull requests: 44
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 7
  • Total pull request authors: 5
  • Average comments per issue: 2.76
  • Average comments per pull request: 2.3
  • Merged pull requests: 41
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 15 hours
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 0.33
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • robbietuk (44)
  • mele-y (3)
  • KrisThielemans (3)
  • GeorgeSoult (1)
  • panstip (1)
  • averygong07 (1)
  • imbeatriz (1)
  • hluszoke (1)
Pull Request Authors
  • robbietuk (39)
  • KrisThielemans (3)
  • katerinachytra (2)
  • francescaleek (1)
  • samdporter (1)
Top Labels
Issue Labels
Suggestion (10) enhancement (9) help wanted (8) good first issue (4) question (3) documentation (2) bug (2)
Pull Request Labels
enhancement (8) help wanted (2) question (1)