Skip to content

FEAT: Generate BOLD reference using low FD frames calculated by MCFLIRT#553

Open
joey-scanga wants to merge 15 commits into
nipreps:masterfrom
joey-scanga:feat/mcflirt-boldref
Open

FEAT: Generate BOLD reference using low FD frames calculated by MCFLIRT#553
joey-scanga wants to merge 15 commits into
nipreps:masterfrom
joey-scanga:feat/mcflirt-boldref

Conversation

@joey-scanga

Copy link
Copy Markdown
Contributor

Add a new keyword for --hmc-bold-frame, "mcflirt", which creates a BOLD reference frame for within-run alignment by running MCFLIRT on the raw BOLD data (using the "normcorr" function) to calculate FD, then RobustAverage'ing together the 5 lowest-FD frames (using the 'FSL' mc_method).

In my lab's data this seems to create better reference frames than the 'auto' heuristic method

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.14286% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.61%. Comparing base (015cdfc) to head (47a3039).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
nibabies/workflows/bold/reference.py 63.15% 7 Missing ⚠️
nibabies/cli/parser.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #553      +/-   ##
==========================================
- Coverage   61.64%   61.61%   -0.03%     
==========================================
  Files          73       73              
  Lines        7057     7075      +18     
  Branches      868      871       +3     
==========================================
+ Hits         4350     4359       +9     
- Misses       2438     2447       +9     
  Partials      269      269              

☔ View full report in Codecov by Harness.
📢 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