1. The yt Project
  2. Untitled project
  3. yt-doc

Commits

Nathan Goldbaum  committed 7913621

Forgot to import the level sets api.

  • Participants
  • Parent commits 1ae198e
  • Branches default

Comments (0)

Files changed (1)

File source/cookbook/find_clumps.py

View file
-from yt.mods import * # set up our namespace
+# set up our namespace
+from yt.mods import * 
+from yt.analysis_modules.level_sets.api import *
 
 fn = "IsolatedGalaxy/galaxy0030/galaxy0030" # parameter file to load
 field = "Density" # this is the field we look for contours over -- we could do