Skip to content

update PETPVC reference #1694

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

Merged
merged 1 commit into from
Feb 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions nipype/interfaces/petpvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

from .base import TraitedSpec, CommandLineInputSpec, CommandLine, File, isdefined, traits

from ..external.due import due, Doi, BibTeX

pvc_methods = ['GTM',
'IY',
Expand Down Expand Up @@ -72,8 +72,6 @@ class PETPVC(CommandLine):
and their applications in neurology, cardiology and oncology," Phys. Med.
Biol., vol. 57, no. 21, p. R119, 2012.

There is a publication waiting to be accepted for this software tool.

Its command line help shows this:

-i --input < filename >
Expand Down Expand Up @@ -148,6 +146,23 @@ class PETPVC(CommandLine):
output_spec = PETPVCOutputSpec
_cmd = 'petpvc'

references_ = [{'entry': BibTeX("@article{0031-9155-61-22-7975,"
"author={Benjamin A Thomas and Vesna Cuplov and Alexandre Bousse and "
"Adriana Mendes and Kris Thielemans and Brian F Hutton and Kjell Erlandsson},"
"title={PETPVC: a toolbox for performing partial volume correction "
"techniques in positron emission tomography},"
"journal={Physics in Medicine and Biology},"
"volume={61},"
"number={22},"
"pages={7975},"
"url={http://stacks.iop.org/0031-9155/61/i=22/a=7975},"
"doi={http://dx.doi.org/10.1088/0031-9155/61/22/7975},"
"year={2016},"
"}"),
'description': 'PETPVC software implementation publication',
'tags': ['implementation'],
}]

def _list_outputs(self):
outputs = self.output_spec().get()
outputs['out_file'] = self.inputs.out_file
Expand Down