Skip to content

how to create a SLR pulse by pypulseq #226

Answered by btasdelen
qizixinge asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I found the issue, but this is not an issue with pypulseq, but probably an issue with sigpy. Setting time_bw_product=1.5 causes a negative value in a call to firls function, which, as stated in the error, only supports values between 0 and 1. In fact, you can only set the time_bw_product to 2 or higher.

I don't know enough RF pulse design to say not having TBW less than 2 for SLR pulses is reasonable or not. I think you would have a better luck discussing this over sigpy. Overall, your code works if you set time_bw_product=2.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@btasdelen
Comment options

@qizixinge
Comment options

@qizixinge
Comment options

@btasdelen
Comment options

Answer selected by qizixinge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants