diff --git a/amypet/align.py b/amypet/align.py index c1bb66f6..c1dc1622 100644 --- a/amypet/align.py +++ b/amypet/align.py @@ -17,9 +17,6 @@ from .ur_tools import preproc_ur from .utils import get_atlas -# > tracer in different radionuclide group -f18group = ['fbb', 'fbp', 'flute'] -c11group = ['pib'] # > list of registration/motion metrics for alignment reg_metric_list = ['rss', 'adst'] @@ -924,7 +921,7 @@ def align_break( td = td[0] # > what tracer / radionuclide is used? - istp = 'F18' * (niidat['tracer'] in f18group) + 'C11' * (niidat['tracer'] in c11group) + istp = 'F18' * (niidat['tracer'] in Cnt['tracer']['f18']) + 'C11' * (niidat['tracer'] in Cnt['tracer']['c11']) # > decay constant using half-life lmbd = np.log(2) / nimpa.resources.riLUT[istp]['thalf'] diff --git a/amypet/params.toml b/amypet/params.toml index ec925ff0..04644f3d 100644 --- a/amypet/params.toml +++ b/amypet/params.toml @@ -53,3 +53,7 @@ pib = [5400, 6600, 1200] flute = [5400, 6600, 1200] fbb = [5400, 6600, 1200] fbp = [3000, 3600, 600] + +[tracer] +f18 = ['fbb', 'fbp', 'flute', 'mk-6240'] +c11 = ['pib'] \ No newline at end of file