Skip to content

REF: Remove PET estimator#426

Draft
jhlegarreta wants to merge 1 commit intonipreps:mainfrom
jhlegarreta:ref/remove-pet-estimator
Draft

REF: Remove PET estimator#426
jhlegarreta wants to merge 1 commit intonipreps:mainfrom
jhlegarreta:ref/remove-pet-estimator

Conversation

@jhlegarreta
Copy link
Contributor

Remove the PET estimator: the NiFreeze estimator design is modality-agnostic, so a PET-specific estimator is not required.

Remove the PET-specific integration test: checking that motion estimation with PET data yields the identity matrix when monkey patching the transformation computation when the estimator runs the registration step is covered by the
test_estimator:test_estimator_iterator_index_match test function.

Update the notebook accordingly. Avoid trying to fit on all data, as it is not implemented yet following commit a468d76.

@jhlegarreta
Copy link
Contributor Author

Supersedes PR #203.

Depends on PR #424.

Remove the PET estimator: the `NiFreeze` estimator design is
modality-agnostic, so a PET-specific estimator is not required.

Remove the PET-specific integration test: checking that motion
estimation with PET data yields the identity matrix when monkey patching
the transformation computation when the estimator runs the registration
step is covered by the
`test_estimator:test_estimator_iterator_index_match` test function.

Update the notebook accordingly. Avoid trying to fit on all data, as it
is not implemented yet following commit a468d76.
@jhlegarreta jhlegarreta force-pushed the ref/remove-pet-estimator branch from 1c7e6f7 to 3049c10 Compare February 14, 2026 15:28
@codecov
Copy link

codecov bot commented Feb 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.26%. Comparing base (4fd5feb) to head (3049c10).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
- Coverage   83.80%   83.26%   -0.54%     
==========================================
  Files          37       37              
  Lines        2136     2091      -45     
  Branches      235      231       -4     
==========================================
- Hits         1790     1741      -49     
- Misses        304      310       +6     
+ Partials       42       40       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant