[Yt-dev] max on a region
Matthew Turk
matthewturk at gmail.com
Sat Feb 28 16:31:47 PST 2009
I believe you have to do:
pi = na.argmax(Reginald[field])
print [Reginald[f][pi] for f in ['x','y','z',field]]
On Sat, Feb 28, 2009 at 2:20 PM, david collins <antpuncher at gmail.com> wrote:
> Hi--
>
> Is there a way to find both the value and coordinate of the max values
> on an extracted region, like
>
> Reginald= pf.h.region(c,l,r),
>
> with a single command?
>
> d.
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
More information about the yt-dev
mailing list