-
Notifications
You must be signed in to change notification settings - Fork 75
Timing check of ADC delay #235
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
Conversation
|
Looking back through the commits, this was introduced in #200 as a result of a comment in #191 (#191 (comment)). You are right that this is an error, as The check here should just be reverted to |
|
Okay, I changed the respective line |
|
We have to wait for #243 to be merged. I messed up the coverage path and might adjust the fail pipeline implementation a little bit. This is why the tests currently fail. |
schuenke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to keep both cases separated and to add an explaining comment why we set it to rf_raster_time for the ADC. Not sure if there is a better source for this than https://github.com/pulseq/pulseq/blob/master/doc%2Fpulseq_shapes_and_times.pdf ?!
schuenke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mavel101 and @FrankZijlstra please let me know if my changes are fine for you so I can merge it.
|
Looks fine for me. |

The timing check of the ADC currently uses the ADC raster time (typically 100ns) for all properties of the ADC (dwell time & delay).
While this raster time applies for the dwell time, it does not apply for the delay of the ADC, which must be on a 1us raster.
This issue can be fixed by setting "raster" to the RF raster time, as the dwell time of the ADC is anyway checked on the ADC raster time. I am not sure though, if this is the best solution style-wise.