[Yt-svn] yt-commit r1436 - trunk/yt/lagos

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Tue Sep 8 14:47:40 PDT 2009


Author: britton
Date: Tue Sep  8 14:47:40 2009
New Revision: 1436
URL: http://yt.spacepope.org/changeset/1436

Log:
Added comoving (not comoving / h) units.


Modified:
   trunk/yt/lagos/OutputTypes.py

Modified: trunk/yt/lagos/OutputTypes.py
==============================================================================
--- trunk/yt/lagos/OutputTypes.py	(original)
+++ trunk/yt/lagos/OutputTypes.py	Tue Sep  8 14:47:40 2009
@@ -346,6 +346,7 @@
         for unit in mpc_conversion:
             self.units[unit] = mpc_conversion[unit] * box_proper
             self.units[unit+'h'] = mpc_conversion[unit] * box_proper * h
+            self.units[unit+'cm'] = mpc_conversion[unit] * boxcm_uncal
             self.units[unit+'hcm'] = mpc_conversion[unit] * boxcm_cal
 
     def _setup_getunits_units(self):



More information about the yt-svn mailing list