[Yt-svn] yt-commit r1283 - trunk/yt/extensions
britton at wrangler.dreamhost.com
britton at wrangler.dreamhost.com
Mon Apr 27 12:24:46 PDT 2009
Author: britton
Date: Mon Apr 27 12:24:46 2009
New Revision: 1283
URL: http://yt.spacepope.org/changeset/1283
Log:
Changed call to hop in halo profiler to new standard. Currently,
there is no way to control hop parameters from the halo profiler,
but that will change soon. The halo profiler can now be run in
parallel with the hop call seemlessly for halos='multiple' mode.
Modified:
trunk/yt/extensions/HaloProfiler.py
Modified: trunk/yt/extensions/HaloProfiler.py
==============================================================================
--- trunk/yt/extensions/HaloProfiler.py (original)
+++ trunk/yt/extensions/HaloProfiler.py Mon Apr 27 12:24:46 2009
@@ -24,7 +24,7 @@
"""
import yt.lagos as lagos
-import yt.lagos.hop as hop
+from yt.lagos.HaloFinding import HaloFinder
from yt.logger import lagosLogger as mylog
import yt.raven as raven
import numpy as na
@@ -462,15 +462,10 @@
def _RunHop(self,hopFile):
"Run hop to get halos."
- full_box = self.pf.h.region(0.5 *(self.pf.parameters['DomainRightEdge'] -
- self.pf.parameters['DomainLeftEdge']),
- self.pf.parameters['DomainLeftEdge'],
- self.pf.parameters['DomainRightEdge'])
- hop_results = hop.HopList(full_box, 80.0)
+ hop_results = HaloFinder(self.pf)
hop_results.write_out(hopFile)
- del full_box
del hop_results
def _LoadHopData(self):
More information about the yt-svn
mailing list