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

Add physio trigger #15

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Add physio trigger #15

merged 2 commits into from
Jan 9, 2025

Conversation

jfnielsen
Copy link
Member

Added support for physio trigger. to tv6

To add a physio/cardic trigger to your Pulseq sequence:

  1. trig = mr.makeTrigger('physio1', 'duration', 20e-6); % dummy duration -- ignored by GE interpreter
  2. seq.addBlock(rf, gz, mr.makeLabel('SET', 'TRID', 2), trig);

The new seq2ge.m will store the trigger flag in scanloop.txt. The interpreter will pause execution of a segment containing a cardiac trigger in any of the blocks withing the segment -- adding more than one cardiac trigger will have no effect.

Jon-Fredrik Nielsen added 2 commits January 8, 2025 21:48
On branch develop_trig
	modified:   ceq2ge.m
	modified:   getdynamics.m
	modified:   seq2ceq.m
	new file:   getblocktype.m
@jfnielsen jfnielsen merged commit 1688479 into develop Jan 9, 2025
@jfnielsen jfnielsen deleted the develop_trig branch January 9, 2025 03:17
jfnielsen added a commit that referenced this pull request Jan 9, 2025
* Ignore blocks containing only labels
On branch develop
	modified:   isdelayblock.m
	modified:   seq2ceq.m

* Wrapper for seq2ceq
On branch develop
	new file:   seq2seg.m

* Squashed commit of the following:

    Support for multiple ADC events

    Add number of ADC samples to .mod header
    Store dwell time (in us) in .mod header int array
    	modified:   ceq2ge.m

    Allow multiple ADC events
    	modified:   compareblocks.m

On branch develop
	modified:   matlab/ceq2ge.m
	modified:   matlab/compareblocks.m

* Rename 'group' to 'segment'
On branch develop
	modified:   pulCeq.h

* Working on alternate figure explaining sequence model
On branch develop
	new file:   model2.svg

* On branch develop
	modified:   model2.svg

* On branch develop
	modified:   model2.svg

* Add physio trigger (#15)

Add cardiac/physio trigger to ceq.loop array, and write it to scanloop.txt.

On branch develop_trig
	modified:   ceq2ge.m
	modified:   getdynamics.m
	modified:   seq2ceq.m
	new file:   getblocktype.m

Co-authored-by: Jon-Fredrik Nielsen <[email protected]>

* Bug fix
On branch develop
	modified:   ceq2ge.m

---------

Co-authored-by: Jon-Fredrik Nielsen <[email protected]>
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.

1 participant