Skip to content

Commit

Permalink
answer Max comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Nov 13, 2024
1 parent 75d05bf commit 5a6a2bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion scilpy/io/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_testing_files_dict():
"processing.zip": "eece5cdbf437b8e4b5cb89c797872e28",
"surface_vtk_fib.zip": "241f3afd6344c967d7176b43e4a99a41",
"tractograms.zip": "1eb29085db974b5e58d32b13eb76fbe6",
"mrds.zip": "aefbeb6fae58d120538afcad5d90140c"
"mrds.zip": "5abe6092400e11e9bb2423e2c387e774"
}


Expand Down
22 changes: 11 additions & 11 deletions scripts/scil_mrds_select_number_of_tensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
mdtmrds: information available soon (not part of scilpy).
Input:
Inputs are a list of 5 files for each MRDS solution (V1, V2, V3).
- Signal fraction of each tensor ([in_prefix]_V[1,2,3]_signal_fraction.nii.gz)
- Eigenvalues ($in_prefix]_V[1,2,3]_evals.nii.gz)
- Isotropic ([in_prefix]_V[1,2,3]_isotropic.nii.gz)
- Number of tensors ([in_prefix]_V[1,2,3]_num_tensors.nii.gz)
- Eigenvectors ([in_prefix]_V[1,2,3]_evecs.nii.gz)
Inputs are a list of 5 files for each MRDS solution (D1, D2, D3).
- Signal fraction of each tensor ([in_prefix]_D[1,2,3]_signal_fraction.nii.gz)
- Eigenvalues ($in_prefix]_D[1,2,3]_evals.nii.gz)
- Isotropic ([in_prefix]_D[1,2,3]_isotropic.nii.gz)
- Number of tensors ([in_prefix]_D[1,2,3]_num_tensors.nii.gz)
- Eigenvectors ([in_prefix]_D[1,2,3]_evecs.nii.gz)
Example:
Expand Down Expand Up @@ -71,11 +71,11 @@ def main():

mrds_files = []
for i in range(1, 4):
mrds_files.append([args.in_prefix + '_V{}_signal_fraction.nii.gz'.format(i),
args.in_prefix + '_V{}_evals.nii.gz'.format(i),
args.in_prefix + '_V{}_isotropic.nii.gz'.format(i),
args.in_prefix + '_V{}_num_tensors.nii.gz'.format(i),
args.in_prefix + '_V{}_evecs.nii.gz'.format(i)])
mrds_files.append([args.in_prefix + '_D{}_signal_fraction.nii.gz'.format(i),
args.in_prefix + '_D{}_evals.nii.gz'.format(i),
args.in_prefix + '_D{}_isotropic.nii.gz'.format(i),
args.in_prefix + '_D{}_num_tensors.nii.gz'.format(i),
args.in_prefix + '_D{}_evecs.nii.gz'.format(i)])

assert_inputs_exist(parser, [args.in_volume] + [x for xs in mrds_files for x in xs],
optional=args.mask)
Expand Down

0 comments on commit 5a6a2bd

Please sign in to comment.