Fix grad raster time typo. Make system rasters consistent with the defs.#299
Fix grad raster time typo. Make system rasters consistent with the defs.#299btasdelen wants to merge 4 commits intoimr-framework:masterfrom
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.