[yt-users] yt.extensions.EnzoSimulation gorne

j s oishi jsoishi at gmail.com
Fri Oct 29 10:28:04 PDT 2010


Hi Elizabeth,

Are you on yt-2.0? If so, then it should be

from yt.analysis_modules.api import EnzoSimulation as ES

j

On Fri, Oct 29, 2010 at 8:16 AM, Elizabeth Tasker <taskere at mcmaster.ca> wrote:
> Hi,
>
> Yt is denying the existence of "yt.extensions.EnzoSimulation ":
>
> ImportError                               Traceback (most recent call last)
>
> /home/taskere/yt/src/yt-hg/scripts/iyt in <module>()
>     2
>     3 from yt.mods import *
> ----> 4 import yt.extensions.EnzoSimulation as ES
>     5
>     6 ETot = []
>
> ImportError: No module named EnzoSimulation
>
>
> Did it change name? I want to iterate through all outputs:
>
> es = ES.EnzoSimulation("SedovBlastAMR.enzo", initial_time=0.0,
> final_time=0.1)
>
> for output in es.allOutputs
>   # do barbaric calculations at all output times etc.
>
>
> Thanks, 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