pypulseq
pypulseq copied to clipboard
Pulseq in Python
When adding ADC events that are starting on a valid time according to the adc-raster time but is smaller than a micro second the delay is simply dropped when exported...
Hello, apparently seq.calculate_kspace() in pypulseq does not return t_ktraj. t_ktraj is very helpful when comparing measured and nominal trajectories. [k_traj_adc, k_traj, t_excitation, t_refocusing, t_adc] = seq.calculate_kspace() vs. Matlab: [ktraj_adc, t_adc,...
This adds t_ktraj to the return values of calculate_kspace, to make it consistent with the Matlab Pulseq Version. t_ktraj is very handy when comparing measured and nominal trajectories. All the...
Missing functionality to support new interpreter features: - [x] RF storage now includes RF center position, also supports frequency/phase offsets in PPM. - [x] ADC also supports frequency/phase offsets in...
The rf refocussing pulse gradient for slice selection uses the amplitude from the excitation pulse gradient. I believe the amplitude from the previously generated gz gradient for the refocussing pulse...
The GRE sequence https://github.com/imr-framework/pypulseq/blob/0398b12bc1d86c1997ed5ad34242a22cc95003bd/examples/scripts/write_gre.py has a small TE/TR timing error if the rf.ringdown_time gets longer than the gz.fall_time. Taking the max() of both fixes the issue which becomes relevant for...
Work in progress. Effort to implement soft delay extension for file format 1.5.0 compatibility. TODO: ------- - [x] Add `soft_delay` handling to `addBlock()`. - [x] Implement `apply_soft_delay()`. - [x] Add...
**Describe the bug** seq.plot() does not display graphs **To Reproduce** On Ubuntu 22.04. LTS run write_gre.py with plot=True **Expected behavior** No plot shows **Screenshots** NA **Desktop (please complete the following...
**Describe the bug** The make_label function raises an ValueError if the input is a numpy integer type. **To Reproduce** ``` import pypulseq as pp pp.make_label(label='PAR', value=np.int64(2), type='SET') ``` **Expected behavior**...