Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added options for mrtrix_track_roi2roi parameters, that allow setting FA threshold, curvature threshold and length threshold #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

francopestilli
Copy link
Member

We (Franco and Dora) tested back compatibility. The function can be called the old way without errors. The new parameters are passed in to the function as a varargin input, a series of if statements unpack the parameters. Default parameters are unchanged form previous version of the function.

function [pdb_file, status, results] = mrtrix_track_roi2roi(files, roi1, roi2, seed, mask, mode, n, n_max, bkgrnd, verbose)

function [pdb_file, status, results] = mrtrix_track_roi2roi(files, roi1, roi2, seed, mask, mode, n, n_max, bkgrnd, verbose, varargin)
% ,fiber_length,fa_th,fa_th_init,curv_th,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want this line to be here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants