[yt-users] Masking the domain?

Cameron Hummels chummels at gmail.com
Mon Nov 17 20:55:41 PST 2014


Boolean objects still work in yt 2.x, I believe.  You could always go back
to that version and do it there?

http://yt-project.org/docs/2.6/cookbook/constructing_data_objects.html?highlight=boolean#boolean-data-objects

On Mon, Nov 17, 2014 at 4:36 PM, Douglas Harvey Rudd <drudd at uchicago.edu>
wrote:

>  Hi Jill,
>
>  The boolean masks don’t work in yt 3.0, and my addition currently only
> allows you to compute the union of two selectors. I do plan to generalize
> what I did to allow negation and intersection, but I’m not sure when I’ll
> be able to get to it.
>
>   Douglas Rudd
> Scientific Computing Consultant
> Research Computing Center
>  drudd at uchicago.edu
>
>
>
>  On Nov 17, 2014, at 5:06 PM, Naiman, Jill <jill.naiman at cfa.harvard.edu>
> wrote:
>
>   Hi Nathan,
>
>  Yup!  The textfile has positions and radii of several spheres.
>
>  Even a hack is most welcome at this point :)
>
>  -Jill
>
> On Mon, Nov 17, 2014 at 5:57 PM, Nathan Goldbaum <nathan12343 at gmail.com>
> wrote:
>
>> So this is a text file containing positions and radii of many spheres?
>>
>> Doug Rudd (cc'd) has been thinking about composing selectors.  I'm not
>> sure if it's possible to combine selectors using a boolean addition like
>> you need yet.  He might have a better idea of what's necessary to get that
>> working.
>>
>>  -Nathan
>>
>>  On Mon Nov 17 2014 at 2:31:45 PM Naiman, Jill <
>> jill.naiman at cfa.harvard.edu> wrote:
>>
>>>    Hi all,
>>>
>>>  I'm trying to mask out several spheres in my domain before making a
>>> phase plot.  Is there a way to do this?  I've tried making a derived field,
>>> using the boolean mask things, and checked out the "masking domain" section
>>> of the cookbook with little success.
>>>
>>> The regions I want to mask out come from a text file of x/y/z
>>> coordinates and radii.
>>>
>>>  Thanks for any insights!
>>>  -Jill
>>>   _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>  _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


-- 
Cameron Hummels
Postdoctoral Researcher
Steward Observatory
University of Arizona
http://chummels.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141117/bfe94249/attachment.htm>


More information about the yt-users mailing list