Skip to content

Conversation

@h3lg3
Copy link
Contributor

@h3lg3 h3lg3 commented Jan 15, 2025

This PR adds the same warning about the change of rf.delay to the method make_block_pulse as it is implemented in make_sinc_pulse.

if rf.dead_time > rf.delay:
    warn(
        f'Specified RF delay {rf.delay*1e6:.2f} us is less than the dead time {rf.dead_time*1e6:.0f} us. Delay was increased to the dead time.',
        stacklevel=2,
    )
    rf.delay = rf.dead_time

@schuenke schuenke changed the base branch from dev to master January 17, 2025 08:22
@schuenke schuenke merged commit 4a25069 into imr-framework:master Jan 17, 2025
6 checks passed
@h3lg3 h3lg3 deleted the add_rf_delay_warning branch February 18, 2025 16:55
@schuenke schuenke mentioned this pull request Mar 21, 2025
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