[Yt-svn] yt-commit r1424 - in trunk/yt/extensions: . lightcone
britton at wrangler.dreamhost.com
britton at wrangler.dreamhost.com
Wed Sep 2 21:09:40 PDT 2009
Author: britton
Date: Wed Sep 2 21:09:40 2009
New Revision: 1424
URL: http://yt.spacepope.org/changeset/1424
Log:
Fixed insignificant typos and removed obselete SimulationHaloProfiler to be
replaced with a script in the cookbook.
Removed:
trunk/yt/extensions/SimulationHaloProfiler.py
Modified:
trunk/yt/extensions/HaloProfiler.py
trunk/yt/extensions/lightcone/LightCone.py
Modified: trunk/yt/extensions/HaloProfiler.py
==============================================================================
--- trunk/yt/extensions/HaloProfiler.py (original)
+++ trunk/yt/extensions/HaloProfiler.py Wed Sep 2 21:09:40 2009
@@ -303,8 +303,8 @@
elif self.velocity_center[0] == 'max':
max_grid, max_cell, max_value, max_location = self.pf.h.find_max_cell_location(self.velocity_center[1])
sphere.set_field_parameter('bulk_velocity', [max_grid['x-velocity'][max_cell],
- max_grid['y-velocity'][max_cell],
- max_grid['z-velocity'][max_cell]])
+ max_grid['y-velocity'][max_cell],
+ max_grid['z-velocity'][max_cell]])
profile = lagos.BinnedProfile1D(sphere, self.n_profile_bins, "RadiusMpc",
r_min, halo['r_max'],
Modified: trunk/yt/extensions/lightcone/LightCone.py
==============================================================================
--- trunk/yt/extensions/lightcone/LightCone.py (original)
+++ trunk/yt/extensions/lightcone/LightCone.py Wed Sep 2 21:09:40 2009
@@ -133,7 +133,7 @@
while (z > output['redshift']):
output = output['previous']
if (output is None):
- if self.verbose: mylog.error("CalculateLightConeSolution: search for data output went off the end the stack.")
+ if self.verbose: mylog.error("CalculateLightConeSolution: search for data output went off the end of the stack.")
if self.verbose: mylog.error("Could not calculate light cone solution.")
return
if (output['redshift'] == self.lightConeSolution[-1]['redshift']):
More information about the yt-svn
mailing list