Skip to content

Commit 19af931

Browse files
authored
Merge pull request #184 from jhlegarreta/fix/fix-pet-notebook-errors
FIX: Fix miscellaneous errors in the PET notebook
2 parents bdaf35c + 14dddc9 commit 19af931

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/notebooks/pet_motion_estimation.ipynb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,17 +2258,12 @@
22582258
"source": [
22592259
"from nifreeze.estimator import PETMotionEstimator\n",
22602260
"\n",
2261-
"# Instantiate with a PETModel or appropriate model instance\n",
2262-
"model = PETModel(\n",
2263-
" dataset=pet_dataset, timepoints=pet_dataset.midframe, xlim=pet_dataset.total_duration\n",
2264-
")\n",
2265-
"estimator = PETMotionEstimator(model=model)\n",
2261+
"estimator = PETMotionEstimator()\n",
22662262
"\n",
22672263
"# Run the estimator\n",
22682264
"affines = estimator.run(\n",
22692265
" pet_dataset,\n",
22702266
" omp_nthreads=4,\n",
2271-
" n_jobs=4,\n",
22722267
")"
22732268
]
22742269
},

0 commit comments

Comments
 (0)