<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi, John-</div><div><br></div><div>When I get the PPVCube object, one can index it like a 3d numpy array.  I realize now that it's more than just a simple 3d numpy array, but that's the behavior I'm looking for.  When I load it with yt.load, I get all the more general yt objects like all_data, but those are harder to slice up if I have, say, a 2d boolean mask.</div><div><br></div><div>d.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br></div><div>Best,</div><div><br></div><div>John</div><div><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) <a href="tel:617-496-1816" value="+16174961816" target="_blank">617-496-1816</a></span></div><div><span style="background-color:rgba(255,255,255,0)">(m) <a href="tel:781-708-5004" target="_blank">781-708-5004</a><br><a href="mailto:jzuhone@cfa.harvard.edu" target="_blank">jzuhone@cfa.harvard.edu</a></span></div><div><span style="background-color:rgba(255,255,255,0)"><a href="mailto:jzuhone@gmail.com" target="_blank">jzuhone@gmail.com</a><br><a href="http://www.jzuhone.com/" target="_blank">http://www.jzuhone.com</a></span><br style="font-family:UICTFontTextStyleBody"></div></div></div><div><br>On Mar 2, 2016, at 11:15 AM, David Collins <<a href="mailto:dcollins4096@gmail.com" target="_blank">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"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</font></span></div></div><span class="HOEnZb"><font color="#888888">
</font></span></div></blockquote><span class="HOEnZb"><font color="#888888"><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></font></span></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-- Sent from a computer.<br></div></div>
</div></div>