[yt-users] Can I specify the particle type when loading data?

Matthew Turk matthewturk at gmail.com
Wed Feb 3 08:43:41 PST 2016


Hi Bili,

Right now, you can't filter.  I think it should be straightforward; there
is already a filter setting, and it knows how to evaluate based on the
positions of the particles, but evaluating based on the particle type
should be straightforward as well.

On Thu, Jan 28, 2016 at 2:21 PM, Bili Dong - Gmail <qobilidop at gmail.com>
wrote:

> Hi yt users,
>
> I'm working with a particle dataset and I'm wondering if it is possible to
> only load a certain type of particle fields from the snapshot as my
> dataset? For example, there might be 'PartType0' and 'PartType1' in the
> snapshot, but I only want to load 'PartType0'.
>
> The reason I want to do this is that, to my understanding, the octree of
> the particle dataset is constructed adaptively according to the number of
> particles, including all types of particles in the dataset. But I want the
> octree constructed only according to the type of particles I'm interested
> in. Is it possible?
>
> Thanks,
> Bili
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160203/d6d40368/attachment.htm>


More information about the yt-users mailing list