Differences between .frb and Pixelize
Hi all, especially Nathan and Cameron, In the plot callbacks, there are a few (quiver / cutting quiver, streamline, and clump contour) where we call [C]Pixelize directly. If we're specifying a skip parameter, that reduces the resolution and I can see why we do it. But is there a good reason, if skip is set to do every value, why we wouldn't use the plot.frb object itself? -Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
On Mon, Mar 30, 2015 at 12:23 PM, Matthew Turk
Hi all, especially Nathan and Cameron,
In the plot callbacks, there are a few (quiver / cutting quiver, streamline, and clump contour) where we call [C]Pixelize directly.
If we're specifying a skip parameter, that reduces the resolution and I can see why we do it. But is there a good reason, if skip is set to do every value, why we wouldn't use the plot.frb object itself?
Those calls to CPixelize predate the PlotWindow infrastructure in the .frb attribute. If you can get rid of them, I say go for it.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Sounds good to me!
On Mon, Mar 30, 2015 at 12:24 PM, Nathan Goldbaum
On Mon, Mar 30, 2015 at 12:23 PM, Matthew Turk
wrote: Hi all, especially Nathan and Cameron,
In the plot callbacks, there are a few (quiver / cutting quiver, streamline, and clump contour) where we call [C]Pixelize directly.
If we're specifying a skip parameter, that reduces the resolution and I can see why we do it. But is there a good reason, if skip is set to do every value, why we wouldn't use the plot.frb object itself?
Those calls to CPixelize predate the PlotWindow infrastructure in the .frb attribute.
If you can get rid of them, I say go for it.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- Cameron Hummels Postdoctoral Researcher Steward Observatory University of Arizona http://chummels.org _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Great, thanks.
On Mon, Mar 30, 2015 at 2:46 PM, Cameron Hummels
Sounds good to me!
On Mon, Mar 30, 2015 at 12:24 PM, Nathan Goldbaum
wrote: On Mon, Mar 30, 2015 at 12:23 PM, Matthew Turk
wrote: Hi all, especially Nathan and Cameron,
In the plot callbacks, there are a few (quiver / cutting quiver, streamline, and clump contour) where we call [C]Pixelize directly.
If we're specifying a skip parameter, that reduces the resolution and I can see why we do it. But is there a good reason, if skip is set to do every value, why we wouldn't use the plot.frb object itself?
Those calls to CPixelize predate the PlotWindow infrastructure in the .frb attribute.
If you can get rid of them, I say go for it.
-Matt _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- Cameron Hummels Postdoctoral Researcher Steward Observatory University of Arizona http://chummels.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (3)
-
Cameron Hummels
-
Matthew Turk
-
Nathan Goldbaum