Unless I'm mistaken I think all Nathan wanted was to be able to specify the min and max of the entire profile, not arbitrary bin edges. John ZuHone Laboratory for High-Energy Astrophysics NASA/Goddard Space Flight Center 8800 Greenbelt Rd., Mail Code 662 Greenbelt, MD 20771 (w) 301-286-2531 (m) 781-708-5004 john.zuhone@nasa.gov jzuhone@gmail.com
On Feb 3, 2014, at 5:57 PM, Matthew Turk <matthewturk@gmail.com> wrote:
On Feb 3, 2014 5:45 PM, "Nathan Goldbaum" <nathan12343@gmail.com> wrote:
+1.
While we're talking about profiles, it would be nice if I could specify the bin limits in the create_profile function - right now they are hard coded to come from the Extrema derived quantity. This would make it a bit more straightforward to make a ProfilePlot or PhasePlot with custom axes limits.
I think the idea of create profiles was to stay super minimalist, and encourage using the actual objects for more complex operations. I'm not sure I want to bolt more arguments on rather than making ProfileND easier.
Specifying bin edges manually could be neat, though, especially for non-uniform bins...
It would also be nice if ProfileND returned YTArrays, that's something I was planning to add soonish, but if you guys handle it that would be great.
Optimistically, no more than 36 hours for that. :) I also hope to have a wrapper for a array_like_field type thing too, to make it easier to copy and duplicate units. Thoughts on that?
Matt
-Nathan
On Mon, Feb 3, 2014 at 1:53 PM, John ZuHone <jzuhone@gmail.com> wrote:
I am +1 on this provided that prof.x_bins, etc. remains with the values of the fields at bin edges.
Yes, that would remain the same. _______________________________________________ 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
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org