-
Notifications
You must be signed in to change notification settings - Fork 73
Fix grad raster time typo. Make system rasters consistent with the defs. #299
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
base: master
Are you sure you want to change the base?
Conversation
Question: Why are system parameters read from the sequence file in the first place? While it is useful to know what system parameters were used to write the file, shouldn't the principle of Pulseq be that a .seq file can be shared and run on a different system? That is, system parameters should not be overwritten in the first place? For example, if I have a hypothetical system with a 1 us gradient raster, I should have no problems reading a sequence with a 10 us gradient raster, but the sequence checks should still be done with with the user-specified system parameters. It would make more sense to me to give a warning if the specified system parameters do not match with the ones in the file, to hint that the systems may be incompatible. In addition, I think the
|
@FrankZijlstra That is a good question. I think this behavior is consistent with what Matlab Pulseq does. Gradient raster times for extended trapezoids are used in plotting, and incorrect raster time causes weird looking waveforms. See #254. I also found it confusing that, during object creation, we set My questions are what do we expect when the user changes the These are the functions I see that are using
pypulseq/src/pypulseq/check_timing.py Line 87 in 6915c67
|
Fixes the issue at #254.