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

Several bug fixes in Sequence, add_gradients, make_trapezoid, and rotate #132

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

FrankZijlstra
Copy link
Collaborator

  • Bypass code for restoreAdditionalShapeSamples did not include grad.first and grad.last

  • make_arbitrary_grad was not available as pp.make_arbitrary_grad

  • add_gradients' detection of arbitrary gradients was incorrect for Python's 0-based indexing

  • add_gradients handling of non-unique times was broken

  • make_trapezoid incorrectly checked and reported the minimum duration for gradients specifying area and duration (also fixed in local upstream MATLAB pulseq)

  • rotate did not have a system parameter

  • rotate used the incorrect channel for gradient on the second rotation axis

  • Small change in add_gradients to accept a single gradient (i.e. for cases where a variable number of gradients are added), which also allowed a minor cleanup in rotate

…otate`:

- Bypass code for `restoreAdditionalShapeSamples` did not include `grad.first` and `grad.last`
- `make_arbitrary_grad` was not available as `pp.make_arbitrary_grad`
- `add_gradients`' detection of arbitrary gradients was incorrect for Python's 0-based indexing
- `add_gradients` handling of non-unique times was broken
- `make_trapezoid` incorrectly checked and reported the minimum duration for gradients specifying area and duration (also fixed in local upstream MATLAB pulseq)
- `rotate` did not have a system parameter
- `rotate` used the incorrect channel for gradient on the second rotation axis

- Small change in `add_gradients` to accept a single gradient (i.e. for cases where a variable number of gradients are added), which also allowed a minor cleanup in `rotate`
@sravan953 sravan953 self-assigned this Sep 12, 2023
@sravan953 sravan953 added the bug-fix Fixes something label Sep 12, 2023
@sravan953 sravan953 merged commit 95a459a into imr-framework:dev Sep 12, 2023
@FrankZijlstra FrankZijlstra deleted the bugfixes branch December 11, 2023 16:15
@schuenke schuenke mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix Fixes something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants