I am trying to plot 3D volume with large data set. My data set can be larger than RAM and local disk. Because of this I get MemoryError
I try to create Virtual Memory, hoping that when I interact with 3D volume slices it will call data and extract only needed part but didn't work. Is it possible to visualize such a big data?
my data set is 3D numpy array
My code:
source = mlab.pipeline.scalar_field(data)
source.spacing = [1, 1, -1]
for axis in ['x', 'y', 'z']:
plane = mlab.pipeline.image_plane_widget(source,
plane_orientation='{}_axes'.format(axis),
slice_index=100, colormap='gray')
plane.module_manager.scalar_lut_manager.reverse_lut = True
mlab.show()