[Yt-svn] yt-commit r1370 - trunk/yt/extensions/lightcone
skillman at wrangler.dreamhost.com
skillman at wrangler.dreamhost.com
Wed Jul 8 19:30:40 PDT 2009
Author: skillman
Date: Wed Jul 8 19:30:40 2009
New Revision: 1370
URL: http://yt.spacepope.org/changeset/1370
Log:
photon_field, not photonfield. doh!
Modified:
trunk/yt/extensions/lightcone/LightCone.py
Modified: trunk/yt/extensions/lightcone/LightCone.py
==============================================================================
--- trunk/yt/extensions/lightcone/LightCone.py (original)
+++ trunk/yt/extensions/lightcone/LightCone.py Wed Jul 8 19:30:40 2009
@@ -277,7 +277,7 @@
save_image=save_slice_images,
name=name,node=node,**kwargs)
if ytcfg.getint("yt","__parallel_rank") == 0:
- if photonfield:
+ if photon_field:
#need to decrement the flux by the luminosity distance. Assume field in frb is in erg/s/cm^2/Hz
co = lagos.Cosmology(HubbleConstantNow = (100.0 * self.enzoParameters['CosmologyHubbleConstantNow']),
OmegaMatterNow = self.enzoParameters['CosmologyOmegaMatterNow'],
More information about the yt-svn
mailing list