Skip to content

Commit

Permalink
5ttgen deep_atropos: fix typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LucSam authored and Lestropie committed Jan 23, 2025
1 parent ee90596 commit 4470cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/commands/5ttgen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Example usages

$ python3 -c "import ants, antspynet, nibabel, numpy; inpath = 'T1w.nii.gz'; t1w_ants = ants.image_read(inpath); t1w_nib = nibabel.load(inpath); result = antspynet.deep_atropos(t1w_ants); prob_maps = numpy.stack([numpy.array(img.numpy()) for img in result['probability_images']], axis=-1); nibabel.save(nibabel.Nifti1Image(prob_maps, t1w_nib.affine), 'probabilities.nii.gz')"; 5ttgen deep_atropos probabilities.nii.gz 5tt_probabilities.mif

In this use case, the poerior probabilities of these tissue classes are interpreted as partial volume fractions and imported into the derivative 5TT image appropriately.
In this use case, the posterior probabilities of these tissue classes are interpreted as partial volume fractions and imported into the derivative 5TT image appropriately.

Options
-------
Expand Down
2 changes: 1 addition & 1 deletion python/mrtrix3/commands/5ttgen/deep_atropos.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def usage(base_parser, subparsers): #pylint: disable=unused-variable
'prob_maps = numpy.stack([numpy.array(img.numpy()) for img in result[\'probability_images\']], axis=-1); '
'nibabel.save(nibabel.Nifti1Image(prob_maps, t1w_nib.affine), \'probabilities.nii.gz\')"; '
'5ttgen deep_atropos probabilities.nii.gz 5tt_probabilities.mif',
'In this use case, the poerior probabilities of these tissue classes are interpreted as partial volume fractions '
'In this use case, the posterior probabilities of these tissue classes are interpreted as partial volume fractions '
'and imported into the derivative 5TT image appropriately.')
parser.add_argument('input',
type=app.Parser.ImageIn(),
Expand Down

0 comments on commit 4470cf1

Please sign in to comment.