Dear all,
Some time ago, when I experimented with Gadgetron on a Step2.3 pTx
system, I had the same problem. I came up with the following python
gadget to filter out those RT feedback lines.
I don't know if this works for Terra or if the flag assigned to those
measurements is different.
I think filtering in gadgetron is the cleanest solution, since sometimes
one might want to actually use that data.
Best,
Dario
import numpy as np
from gadgetron import Gadget
removeFlag = 138412032
class ExcludeRTfeedback(Gadget):
def process(self, head, data):
#print(head.flags)
if head.flags == removeFlag:
return 0
else:
self.put_next(head,data)
return 0
--
Dario Bosch
Max Planck Institute for Biological Cybernetics
Max-Planck-Ring 11
72076 Tübingen
Germany
Tel:
+49 (0)7071 601-934