I have CT Perfusion data that I can import as a ‘multivolume’ (frames separated by acquisition time).
I can get the MRML node with slicer.util.getNodes(‘vtkMRMLVolumeNode’) or slicer.util.getNodes(‘vtkMRMLMultiVolumeNode’)
this gives me an instance of this class: ‘vtkSlicerMultiVolumeExplorerModuleMRMLPython.vtkMRMLMultiVolumeNode’
Then I can get an array of voxels with slicer.util.arrayFromVolume(node) - but the array is only from 1 frame of the multivolume (i.e. the CT scan at time 0 and not any other time).
If I print out the “vtkMRMLMultiVolumeNode”, I can see that it has all of the dicom files from the whole study as “Attributes”, “MultiVolume.FrameLabels” for each frame, a “LabelArray” - again with each frame time, and “Number of Components” as the number of frames (14)
How do you jump between frames (and get voxel arrays from different ‘acquisition times’)? Do you have to import and use the MultiVolumeExplorer module? - I couldn’t find any documentation on how to use this in Python
Thanks very much