Mayavi renders huge 3D arrays

I have a 3D dataset with approximately 6 million points. Is there any way to build it using contour3D? Every time I try, the mayavi goes out of memory.

Else, is there any way to increase the number of colors in the ctf volume () to over 256 colors. I have floating point data values ​​and have to discretize their use of Volume (). Therefore, I am losing a lot of information. Is there any way around this?

+4
source share
1 answer

I have never worked with the tools you describe, but with large data sets and charts, so I will give you one idea on how we solve a similar problem.

Suppose you get a sample of data from a temperature sensor every second for 1 year, these are 31M + records ... you don’t have β€œspace” for drawing, let's say 1 pixel for each sample. What you can do is get the average value for each pixel that will be displayed. Let's say you have a width of 800px on the screen and 31M + samples, just cut the samples 800 times and get the average (representative) values ​​for each fragment / pixel. If you need more resolution, just β€œscale” to the range and again, get the values ​​.. and so on until you have 800 samples to draw.

Hope this help and sorry for my english.

+1
source

All Articles