[yt-users] yt-2.x: derived fields and field parameters

Brian O'Shea bwoshea at gmail.com
Fri Nov 21 13:02:30 PST 2014


Hi yt-users,

I am trying to do something that feels like it ought to be simple, but I
simply can't figure it out.  I am using yt-2.x, and I want to create a
derived field based on a given center and a radial profile, which I have
pre-calculated and have sent to the derived field using
set_field_parameter.  This does not seem to work particularly well - I
can't seem to get these field parameters, and even my simplest example of a
derived field breaks down.  Here's a copy of my script:

    http://paste.yt-project.org/show/5221/

which dies with this traceback:

    http://paste.yt-project.org/show/5222/

It seems that I can't even access the center that I pass in, much less work
with the radial profile.  I suspect I'm doing something dumb, but reading
the documentation on creating derived fields does not seem to be giving me
the clues I need to figure out what I'm doing wrong.

Thanks!

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141121/331ff85c/attachment.htm>


More information about the yt-users mailing list