Average interleaved data
The purpose of this python script object is to average interleaved data.
The purpose of this python script object is to average interleaved data. Sometimes, especially with MRI DICOM data collected for DTI experiments, a time series of related images may be formatted in this way, where the letter refers to a time point and the number refers to the slice number in the data:
This script would take the number of time points ("# of images to average"; self.avg) and averages these data into one output like this:
This is achieved using numpy from python.
To test this Xtra, load the hx project called Average_Data_ExempleProject packaged with this Xtra.