djoerch / randomised_filtering

Code for randomised tractogram filtering using rSIFT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Randomised Filtering

This repository provides the code for the experiments on the method called randomized SIFT (rSIFT) as described in

A. Hain, D. Jörgens, R. Moreno, "Randomized Iterative Spherical-Deconvolution Informed Tractogram Filtering", NeuroImage, 2023.

Installation Instructions

Dependencies

Make sure that the following dependencies are installed:

Installation

Create a virtual environment using by:

virtualenv -p $(which python3) <path_to_environment>

Then, install the package in the activated environment:

source <path_to_environment>/bin/activate
pip install -e <path_to_randomised_filtering_repo>

After that, the python scripts in the scripts folder will be available through autocompletion in the command line whenever the virtual environment is activated.

Model weights

The weights of the best performing CV model for each classifier type are provided in the folder data/models. These weights were obtained with the tensorflow version specified in requirements.txt.

Data

How to use

The script sift_experiment.sh is the anchor and launches all commands for one rSIFT experiment. The individual scripts rf_* can be launched individually, too. Each provides a brief help text when invoked with the option -h.

The collection of different rSIFT experiments (with different parameters) can be launched using the script main.sh.

About

Code for randomised tractogram filtering using rSIFT


Languages

Language:Python 46.8%Language:PureBasic 44.7%Language:Shell 4.9%Language:Jupyter Notebook 3.7%