Skip to content
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

Implement general kinetic model for multi-PLD data #381

Draft
wants to merge 77 commits into
base: main
Choose a base branch
from

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Dec 21, 2023

Closes #272 and closes #298.

Changes proposed in this pull request

  • Replace the weighted average approach from Dai 2012 with the general kinetic model from Buxton 1998, as recommended and expanded in Woods 2023. This works for both multi-PLD PCASL and multi-PLD PASL.
  • Add aBAT and aBV outputs for multi-PLD PCASL and PASL.

Documentation that should be reviewed

Comment on lines +1127 to +1128
xdata[0, 2] = m0_a_voxel
xdata[0, 3] = m0_a_voxel
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still need to figure out how to get M0b.

aslprep/utils/cbf.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2024

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (247515a) 79.62% compared to head (5c2c0ed) 79.67%.

Files Patch % Lines
aslprep/utils/cbf.py 89.71% 7 Missing and 4 partials ⚠️
aslprep/workflows/asl/cbf.py 42.85% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
+ Coverage   79.62%   79.67%   +0.04%     
==========================================
  Files          37       37              
  Lines        3946     4004      +58     
  Branches      551      561      +10     
==========================================
+ Hits         3142     3190      +48     
- Misses        625      633       +8     
- Partials      179      181       +2     

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

@tsalo tsalo changed the title Implement general kinetic model for multi-PLD PCASL data Implement general kinetic model for multi-PLD data Jan 8, 2024
@tsalo tsalo added enhancement New feature or request breaking-change PRs that change results or interfaces. labels Jan 16, 2024
@tsalo tsalo self-assigned this Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change PRs that change results or interfaces. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace weighted average with general kinetic model for multi-PLD data Re-enable multi-PLD PASL support
2 participants