<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Dave,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Sorry, what do you mean by the "original dumb 3D cube"? Do you mean the original spatial dataset?</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">The PPVCube is a reduction of data, specifically a projection along a spatial axis, within a number of spectral bins. So though you gain information by creating a velocity axis, you also lose a spatial dimension. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">So in that sense you can't get the original data back from the cube--you have to work with the original dataset itself.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Best,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">John</div><div id="AppleMailSignature"><br><span style="font-size: 13pt; background-color: rgba(255, 255, 255, 0);">John ZuHone</span><div><span style="font-size: 13pt;">Harvard-Smithsonian Center for Astrophysics </span></div><div><div><span style="background-color: rgba(255, 255, 255, 0);"><br>60 Garden St., MS-67</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">Cambridge, MA 02138<br>(w) 617-496-1816</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">(m) <a href="tel:781-708-5004" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="1/2">781-708-5004</a><br><a href="mailto:jzuhone@cfa.harvard.edu">jzuhone@cfa.harvard.edu</a></span></div><div><span style="background-color: rgba(255, 255, 255, 0);"><a href="mailto:jzuhone@gmail.com" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2">jzuhone@gmail.com</a><br><a href="http://www.jzuhone.com/" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="3">http://www.jzuhone.com</a></span><br style="font-family: UICTFontTextStyleBody; -webkit-text-size-adjust: auto;"></div></div></div><div><br>On Mar 2, 2016, at 11:15 AM, David Collins <<a href="mailto:dcollins4096@gmail.com">dcollins4096@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi, Everybody!<div><br></div><div>The PPV cube functionality is completely sweet.  Thanks so much!  </div><div><br></div><div>I have one question about it.  I built my cube as described by the docs, wrote to a fits file, then read the fits file with yt.load.  If I then want the original dumb three dimensional cube, what's the simplest way to get back to it?  I usually use </div><div>>>> ds.index.grids</div><div>when I want the raw data, but that gives me an odd list of 27 FITS_grid objects.  Is covering_grid the way to get back to the raw data in this sense?</div><div><br></div><div>For this application, I'm working with some other packages that make it easier for me to do mask operations on the cube, rather than use yt regions as I normally would.  </div><div><br></div><div>d.</div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-- Sent from a computer.<br></div></div>
</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></body></html>