Coder Social home page Coder Social logo

dipy-dti's Introduction

dipy-dti

This container calculates DTI parameters, based on diffusion MRI data.

Parameters

fdata : str

The name of a nifti file with preprocessed diffusion data.

fbval : str

The name of a text-file with b-values in FSL format.

fbvec : str

The name of a text file with the b-vectors in FSL format.

fmask : str, optional

The name of a nifti file containing boolean mask of locations to analyze. Default: no masking

fit_method: str, optional

Chooses the algorithm to use in fitting: {"WLS" | "OLS" | "NNLS" |

"RESTORE"}. Default: "WLS", which uses weighted least-squares (see [1]_ for details). Choosing "RESTORE" will use an automated outlier-rejection algorithm [2]_

.. [1] Comparison of bootstrap approaches for estimation of uncertainties of DTI parameters. S. Chung, Y. Lu, H.G. Roland (2006). Neuroimage 33: 531-541.

.. [2] L.-C. Chang, D.K. Jones, C. Pierpaoli (2005). RESTORE: Robust estimation of tensors by outlier rejection. MRM 53: 1088-1095

Metadata

The mounted input folder should contain a metadata.json file with the following format:

{
"fdata":"HARDI150.nii.gz",
"fbval":"HARDI150.bval",
"fbvec":"HARDI150.bvec",
"fmask":"mask.nii.gz",
"fit_method":"WLS"
}

Where fdata and fit_method are both optional.

Returns

root_tensor.nii.gz : file A nifti file containing the 6 lower diagonal in the Nifti1 asymm format (see dipy.io.utils and http://nifti.nimh.nih.gov/pub/dist/src/niftilib/nifti1.h)

root_{fa,md,ad,rd}: files Nifti files containing the FA, Mean, Axial and Radial diffusivity, respectively.

Examples

To run this container use:

docker run --rm -it -v /path/to/data:/input -v /path/to/output/:/output arokem/dipy-dti

Where the folder /path/to/data/ should contain the metadata.json file,

Notes

This uses the dipy.reconst.dti module: http://nipy.org/dipy/reference/dipy.reconst.html#module-dipy.reconst.dti

dipy-dti's People

Contributors

arokem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.