[yt-users] re-calculate function

Matthew Turk matthewturk at gmail.com
Thu Nov 10 03:15:36 PST 2011


Hi Elizabeth,

You should be able to do:

del dd["Radius"]

-Matt

On Thu, Nov 10, 2011 at 3:47 AM, Elizabeth Tasker
<tasker at astro1.sci.hokudai.ac.jp> wrote:
> Hi,
>
> Simpler question (I think!)
>
> Can I force yt to re-calculate a derived field? I'd like to call dd["Radius"] muliple times, but changing the position of the center field parameter in the same script. Currently, yt knows it's already calculated dd["Radius"] once and doesn't repeat it, even though "center" has changed. Ideally, I'd like to clear just that field, so yt doesn't go and recalculate any other fields.
>
> Elizabeth
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list