Hi John,<br><br>I would recommend taking a look at the VelocityMagnitude field.  The source for the field is in yt/data_objects.<br><br>Britton<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 5:19 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@cfa.harvard.edu">jzuhone@cfa.harvard.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I'd like to create a new yt field from a yt vector field where I take its magnitude. Any thoughts on a good NumPy-ish way to do this?<br>
<br>
Best,<br>
<font color="#888888"><br>
John ZuHone<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</font></blockquote></div><br>