[yt-users] selecting data by refinement level

Klaus Weide klaus at flash.uchicago.edu
Wed Jun 7 12:45:52 PDT 2017


On Wed, 7 Jun 2017, Nathan Goldbaum wrote:
> On Wed, Jun 7, 2017 at 11:56 AM, Matthew Turk <matthewturk at gmail.com> wrote:
> 
> > Great!  As a quick note, you can use `.d` as shorthand for
> > `to_ndarray()`.

> One tiny note:
> 
> YTArray.d is short for YTArray.ndarray_view(), which returns a view onto
> the array. This doesn't copy the underlying data.

Matt and Nathan,

Thanks for the additional info, I think it's very useful to know.

Klaus



More information about the yt-users mailing list