Closed tonggehua closed 4 years ago
@tonggehua Thanks for reporting this bug. Please let me know if commit 2e8d28c4f69348e29bafb06d9bf57e9e0150ee52 fixes this issue for you. As always, you can pip install
the latest commit by doing so: pip install git+git://github.com/imr-framework/pypulseq.git@2e8d28c4f69348e29bafb06d9bf57e9e0150ee52
@tonggehua Is your issue fixed?
Describe the bug Around line 200 in
sequence.py
, in the functionrf_from_lib_data()
, there has been a change between version 1.2.1 and 1.2.0 that seems to fix the error message but reads the sequence incorrectly.For reference, the fields contained in lib_data in the case of an RF pulse are: lib_data[0] : RF amplitude lib_data[1] : RF magnitude waveform ID lib_data[2] : RF phase waveform ID lib_data[3] : RF delay lib_data[4] : RF frequency offset lib_data[5] : RF phase offset
Right now (1.2.0), the code is reading the phase offset as the dead time.
Desktop (please complete the following information):