Skip to content
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

Error running write_QA_Tran_T1.m #1

Open
ZemaTimoteo opened this issue Jan 28, 2025 · 1 comment
Open

Error running write_QA_Tran_T1.m #1

ZemaTimoteo opened this issue Jan 28, 2025 · 1 comment

Comments

@ZemaTimoteo
Copy link

ZemaTimoteo commented Jan 28, 2025

I tried to run the write_QA_Tran_T1.m and failed because in makeSLRpulse.m:

%fprintf('cmd=%s\n',cmd);
[status, result]=system(cmd); # line 141 makeSLRpulse.m

status= 1
result =

'Traceback (most recent call last):
   File "<string>", line 1, in <module>
 ModuleNotFoundError: No module named 'sigpy'
 '

K>> cmd

cmd =

'py -c "import sigpy.mri.rf;pulse=sigpy.mri.rf.dzrf(500,5,ptype='ex',d1=1,d2=0.01,ftype='ms');print(*pulse)"'

What should I do?

@QingpingChen1201
Copy link
Collaborator

Hi Tiago,
Many thanks for your interest in this project. The error is because the sigpy python package is not installed on your computer.
The write_QA_Tran_T1.m script is trying to call the sigpy package to produce an SLR RF pulse for the sequence. you can install the package by, e.g.:
pip install sigpy
Best regards,
Qingping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants