daducci / COMMIT

Linear framework to combine tractography and tissue micro-structure estimation with diffusion MRI
Other
43 stars 33 forks source link

Generate .trk file of fibers used in the dictionary #6

Closed barakovic closed 8 years ago

barakovic commented 8 years ago

*Conflict of barakovic:master and daducci:master solved

Generate a dictionary_TRK_fibers.trk file in the directory of COMMIT outputs. This file contains the fibers used in the dictionary.

Possibility to set gen_trk = False in trk2dictionary.run(). Added documentation for gen_trk parameter.

The structure of the DICTIONARY change in three parts: 1- Rename of the variable: DICTIONARY['IC']['trkNorm'] ==> DICTIONARY['TRK']['norm']

2- Reintroduction of the length of each streamline DICTIONARY['TRK']['len']

3- Boolean array that takes into account if the streamline is used in the dictionary: DICTIONARY['TRK']['kept']