[yt-users] Taking the magnitude of a vector field

Britton Smith brittonsmith at gmail.com
Thu Mar 24 14:22:50 PDT 2011


Hi John,

I would recommend taking a look at the VelocityMagnitude field.  The source
for the field is in yt/data_objects.

Britton

On Thu, Mar 24, 2011 at 5:19 PM, John ZuHone <jzuhone at cfa.harvard.edu>wrote:

> Hi all,
>
> 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?
>
> Best,
>
> John ZuHone
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110324/8b68b112/attachment.htm>


More information about the yt-users mailing list