understanding the data stream between the gadgets

82 views
Skip to first unread message

Oliver Köchel

unread,
Jun 15, 2017, 3:42:50 AM6/15/17
to Gadgetron
Hi Gadgetron Community,

i work as a Bachelor Student at the BMMR in Magdeburg. My Task is basically to get Gadgetron to work in our facility. We were succesful in implementing a Gadgetron Server and get it to grap Data from our Scanner. There are still problems getting the reconstructed Images to our picture Client but thats something for another forum.
To write gadgets myself or to enable others to do it, i am on the way to understand the data stream between the gadgets.its just that i think, i am not even close. Especially now, when i noticed that gadgets are often called many times in one reconstruction. (the main function of a simple Gadget, that only passes data, was called upon 256 times in the reconstruction of the provided phantom. Each time with a header and a data part)
Ideally i want to write a gadget in Python that gives me some kind of data, maybe even a .h5 file after each gadget. I know there is a Dump-Gadget in C++ but i only works at the beginning and my C++ knowlagde is only rudimentarily. I didnt find something like this.
Can you point me to something, a gadget, a paper, an advice or something like this, that might help me on my journey? :)

thank you

David Hansen

unread,
Jun 15, 2017, 5:29:20 AM6/15/17
to Oliver Köchel, Gadgetron
Hi Oliver,

Gadgetron receives the data line-per-line, and you have to group the data together before working with it.
I think you should look at the python gadgets: 
in particular have a look at this chain:

Here, the grouping is done by the AcquisitionAccumulateTriggerGadget and the BucketToBufferGadget. If you want a more detailed view of what is going on, look at 
where the accumulation is done entirely in python.

Best,
David

--
You received this message because you are subscribed to the Google Groups "Gadgetron" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gadgetron+unsubscribe@googlegroups.com.
To post to this group, send email to gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gadgetron/89b73ed2-5b36-4721-9495-a41d52963fb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages