Hi, Everybody- I have a periodic data set and want to run the annotate_particles callback centered on the max. It looks like the particles are cut off for a chunk of my region, as though the weren't rolled around the periodic boundary. There used to be a periodic_region that I think took care of this, but I don't see it any more. Is there an easy work around for this? I apologize if this came up already, I feel like I saw this question go by recently, but couldn't find it. (I might have even asked it. I'm a little dumb these days) d. -- -- Sent from a computer. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Dave,
I *think* this would need to be fixed inside of the ParticleCallback.
Instead of selecting particles to include in the plot based on the particle
positions, we should check for periodically offset particles as well. The
choice about whether or not to do this along any given axis should be
determined by ds.periodicity.
-Nathan
On Mon Dec 15 2014 at 2:02:03 PM David Collins
Hi, Everybody-
I have a periodic data set and want to run the annotate_particles callback centered on the max. It looks like the particles are cut off for a chunk of my region, as though the weren't rolled around the periodic boundary. There used to be a periodic_region that I think took care of this, but I don't see it any more. Is there an easy work around for this?
I apologize if this came up already, I feel like I saw this question go by recently, but couldn't find it. (I might have even asked it. I'm a little dumb these days)
d.
-- -- Sent from a computer. _______________________________________________ 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, Nathan--
In principle this machinery is easy to clone from somewhere, I think I did
it for the grid callback a bazillion years ago. I'll look into that kind
of fix and report back.
Thanks!
d.
On Mon, Dec 15, 2014 at 5:14 PM, Nathan Goldbaum
Hi Dave,
I *think* this would need to be fixed inside of the ParticleCallback. Instead of selecting particles to include in the plot based on the particle positions, we should check for periodically offset particles as well. The choice about whether or not to do this along any given axis should be determined by ds.periodicity.
-Nathan
On Mon Dec 15 2014 at 2:02:03 PM David Collins
wrote: Hi, Everybody-
I have a periodic data set and want to run the annotate_particles callback centered on the max. It looks like the particles are cut off for a chunk of my region, as though the weren't rolled around the periodic boundary. There used to be a periodic_region that I think took care of this, but I don't see it any more. Is there an easy work around for this?
I apologize if this came up already, I feel like I saw this question go by recently, but couldn't find it. (I might have even asked it. I'm a little dumb these days)
d.
-- -- Sent from a computer. _______________________________________________ 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
-- -- Sent from a computer. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
David Collins
-
Nathan Goldbaum