Skip to main content

Scan Session Tool - A tool for (f)MRI scan session documentation and data archiving

Project description

Scan Session Tool

About

There is an urgent need to improve the reproducibility of (functional) MRI research through transparent reporting, but standardization in this domain is currently lacking. Shared MR images are often only made available after transformation into a derivative data format (e.g. BIDS), and scan session documentation is commonly either manually implemented (e.g. with hand written notes) or neglected entirely.

Scan Session Tool was written to fill this gap, and to be used by neuroscientists, to help them increase transparency and reproducibilty of their MRI research by standardizing scan session documentation and raw data archiving.

Scan Session Tool is a graphical application for documenting (f)MRI scan sessions and automatized data archiving. Information about the scan session itself, used forms and documents, as well as the single measurements can be entered and saved into a protocol file. This information can furthermore be used to copy acquired data (DICOM images as well as optional stimulation protocols and logfiles into a specific hierarchical folder structure for unified archiving purposes, with optional sepcial support for (Turbo-)BrainVoyager.

Installation

Using pipx (recommended)

  1. Make sure Python 3 (>=3.6; with Tkinter) is installed.

  2. Install pipx:

    python3 -m pip install --user pipx
    python3 -m pipx ensurepath
    

(On Windows you might need to replace python3 with py -3).

  1. Install Scan Session Tool:

    pipx install ScanSessionTool
    

Using pip

  1. Make sure Python 3 (>=3.6; with Tkinter) is installed.

  2. Install Scan Session Tool:

    python3 -m pip install ScanSessionTool
    

(On Windows you might need to replace python3 with py -3).

Usage

Scan Session Tool can be started with the command scansessiontool.

Documentation

The full documentation can be found from within the programme, by clicking on the "?" button, or by selecting "Scan Session Tool Help" from the Help menu, as well as at https://fladd.github.io/ScanSessionTool/.

Automated tests

Core functionality of Scan Session Tool can be tested automatically. To do so, first install all dependencies:

python -m pip install -r requirements.txt`

Then, run tests from this directory:

python -m unittest -v

Contributing

We very much welcome contributions to Scan Session Tool, and there are multiple ways to contribute. Contributions are always handled transparently through the public GitHub interface.

Bug reports

If you encounter bugs or incorrect/unexpected behaviour of Scan Session Tool, please consider creating an issue here on GitHub for it. You can read more about how to do this here. When reporting issues, make sure to report (1) what you were trying to do, (2) what the expected outcome should have been, (3) what the observed outcome is, and (4) how to replicate this behaviour.

Code contributions

We work with the standard GitHub forking workflow and appreciate code contributions in that way. Individuals that have contributed code will be named with their contributions on this page.

Bug fixes

To implement bug fixes, please

  1. fork the main branch of this repository
  2. commit your changes (potentially in a new branch)
  3. test you changes
  4. create a pull request and reference the corresponding GitHub issue, if applicable

New features

Before implementing a new feature, we would encourage you to first discuss the planned feature with us, either in the issue tracker, or GitHub discussions. Once discussed, new features can then be implemented the same way as bug fixes.

Contributors

  • Florian Krause (main developer)
  • Nikos Kogias (co-developer)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scansessiontool-1.0.0.tar.gz (134.1 kB view hashes)

Uploaded Source

Built Distribution

ScanSessionTool-1.0.0-py3-none-any.whl (133.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page