[yt-users] re-calculate function
Elizabeth Tasker
tasker at astro1.sci.hokudai.ac.jp
Thu Nov 10 05:31:32 PST 2011
Oh. Right -- yes, that works!
On Nov 10, 2011, at 8:15 PM, Matthew Turk wrote:
> 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
>>
> _______________________________________________
> 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