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

Use RF delay instead of RF dead time #21

Merged
merged 2 commits into from
Mar 26, 2025

Conversation

ckolbPTB
Copy link
Contributor

Helge found out that using system.rf_dead_time might not be what is actually used in the RF object:

https://github.com/PTB-MR/qmri-low-field/pull/38#issuecomment-2701251207

@ckolbPTB ckolbPTB requested a review from schuenke March 17, 2025 16:18
Copy link

github-actions bot commented Mar 17, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
/home/runner/.local/lib/python3.12/site-packages/mrseq
   _version.py770%2–9
/home/runner/.local/lib/python3.12/site-packages/mrseq/preparations
   t2_prep.py51198%195
/home/runner/.local/lib/python3.12/site-packages/mrseq/scripts
   t1_inv_rec_gre_single_line.py92990%161, 244, 287–292, 319, 325
   t1_inv_rec_se_single_line.py105991%218, 305, 364–369, 396, 402
   t2_multi_echo_se_single_line.py95991%163, 252, 305–310, 335, 341
TOTAL4073591% 

Tests Skipped Failures Errors Time
76 0 💤 0 ❌ 0 🔥 17.154s ⏱️

Copy link
Contributor

@schuenke schuenke left a comment

Choose a reason for hiding this comment

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

Independent of the return_gz setting, rf.delay is always at least as big as rf.dead_time (which is equal to system.rf_dead_time). Only when return_gz = true, rf.delay might be increased to grad.rise_time + grad.delay. Thus, just using rf.delay instead of system.rf_dead_time should be enough. No max(a,b) is needed IMO.

@ckolbPTB ckolbPTB changed the title Use deadtime/delay of RF pulse used Use RF delay instead of RF dead time Mar 18, 2025
@ckolbPTB ckolbPTB merged commit 2311542 into PTB-MR:main Mar 26, 2025
5 checks passed
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.

2 participants