[Yt-svn] yt-commit r1186 - trunk/examples
dcollins at wrangler.dreamhost.com
dcollins at wrangler.dreamhost.com
Tue Feb 24 14:21:40 PST 2009
Author: dcollins
Date: Tue Feb 24 14:21:39 2009
New Revision: 1186
URL: http://yt.spacepope.org/changeset/1186
Log:
altered structure of script so it looks better on the wiki.
Modified:
trunk/examples/cookbook_simple_projection.py
Modified: trunk/examples/cookbook_simple_projection.py
==============================================================================
--- trunk/examples/cookbook_simple_projection.py (original)
+++ trunk/examples/cookbook_simple_projection.py Tue Feb 24 14:21:39 2009
@@ -1,6 +1,9 @@
from yt.mods import *
-pf = lagos.EnzoStaticOutput("/scratch/cbabbage/enzorun/DD0001/data0001") #Substitute your parameter file location.
+
+#Substitute your parameter file location.
+file_name = "/scratch/cbabbage/enzorun/DD0001/data0001")
+pf = lagos.EnzoStaticOutput(file_name)
pc = raven.PlotCollection(pf)
pc.add_slice("Density", 0)
pc.add_slice("Density", 1)
More information about the yt-svn
mailing list