Dear Eli,<br><br>I found a post about 3D data in YT , <a href="http://astrobiased.com/3d-data-vis-in-yt.html">http://astrobiased.com/3d-data-vis-in-yt.html</a> , very interesting. I am working with spectral cubes from PMAS Spectrograph (at 3.5m CAHA telescope). Thus, I tried to use it. I am newbie with python, but I was able to install everything :-)<br>
<br>However I get an error message when loading the data into yt's data structure (script <a href="http://paste.yt-project.org/show/3182/">http://paste.yt-project.org/show/3182/</a> ):<br><br><blockquote>ERROR: ValueError: total size of new array must be unchanged [yt.frontends.stream.data_structures]<br>
astropy: [ERROR ] 2013-02-20 10:46:53,395 ValueError: total size of new array must be unchanged<br>Traceback (most recent call last):<br> File "3d_viewer.py", line 9, in <module><br> pf = load_uniform_grid(data, cube.shape, 9e16)<br>
File "/home/fog/YT/yt-x86_64/src/yt-hg/yt/frontends/stream/data_structures.py", line 490, in load_uniform_grid<br> grid_dimensions = domain_dimensions.reshape(nprocs,3).astype("int32")<br>ValueError: total size of new array must be unchanged<br>
</blockquote><br> I have uploaded the cube to: <a href="http://bolidox.fis.ucm.es/~alex/YT_cube/">http://bolidox.fis.ucm.es/~alex/YT_cube/</a> . FITS seems to be quite ok according to the FITS validator. And the 'cube' object is well loaded, I guess. <br>
<br>Have you had this problem? Cheers,<br><br>Paco Ocaņa<br>