[yt-users] Surface plot from FITS data cube

Mairan Teodoro mairan.teodoro at gmail.com
Tue Jan 21 06:48:39 PST 2014


Hi yt-users!

I'm new to yt and Python (I'm an IDL guy).

Currently, I'm using VisIt to visualize my FITS data cube. However, since I'm wandering through the fields of Python, I would really like to use yt as my default visualization tool.

Having said that, I would like to ask if somebody out there has some piece of code to read a FITS data cube into a Python array (I know how to do this already) and use yt to visualize it and make iso-surface plots (like the ones I've attached to this message). I went through the yt manual examples (especially the volume plot sections) but all I've got was some kind of blurred blotch (see figure "UniformGridData_volume_rendered.png").

Any help would be very appreciated.

Best regards!
m.

--Dr. Mairan Teodoro
NASA Goddard Space Flight Center
8800 Greenbelt Rd.
Greenbelt, MD 20771 USA
Bldg. 34, Rm. 321
301-286-6321
Code 667
http://asd.gsfc.nasa.gov/Mairan.Teodoro
http://etacar2014.wikidot.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140121/133200fb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit0000.png
Type: image/png
Size: 120468 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140121/133200fb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visit0001.png
Type: image/png
Size: 74070 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140121/133200fb/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UniformGridData_volume_rendered.png
Type: image/png
Size: 62706 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140121/133200fb/attachment-0002.png>


More information about the yt-users mailing list