Skip to content

Fix CalculatekspaceUnfunc with waveforms_and_times#158

Open
srapacchi wants to merge 1 commit into
pulseq-admin:masterfrom
srapacchi:master
Open

Fix CalculatekspaceUnfunc with waveforms_and_times#158
srapacchi wants to merge 1 commit into
pulseq-admin:masterfrom
srapacchi:master

Conversation

@srapacchi
Copy link
Copy Markdown

Function gradient_waveforms is deprecated.
Note: with this, calculateKspaceUnfunc is still faster than calculateKspacePP

Function gradient_waveforms is deprecated.
@m-a-x-i-m-z
Copy link
Copy Markdown
Collaborator

I actually always wanted to delete this function, because for any reasonably long sequence, which uses many simple trapezoid gradients and many waiting periods, it is EXTREMELY inefficient and is certainly way slower than calculateKspacePP(). Additionally, it produces k-space on a time-shifted raster, which is also another potential source of problems.

Is there any reasonable use case for this old function?

--M.

@srapacchi
Copy link
Copy Markdown
Author

I understand. There is no absolute need for this function instead of calculateKspacePP. We want to add an optional GIRF convolution within the Pulseq computation of kspace, so I was trying both functions (Unfunc and PP) to compare them and I found this issue. I leave it to you whether this Unfunc function remains or disappears. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants