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
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
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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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
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
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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
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@uchicago.edumailto:drudd@uchicago.edu
On Nov 17, 2014, at 5:06 PM, Naiman, Jill
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?highl...
On Mon, Nov 17, 2014 at 4:36 PM, Douglas Harvey Rudd
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@uchicago.edu
On Nov 17, 2014, at 5:06 PM, Naiman, Jill
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
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@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@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@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
participants (4)
-
Cameron Hummels
-
Douglas Harvey Rudd
-
Naiman, Jill
-
Nathan Goldbaum