[Yt-svn] yt-commit r844 - in trunk/yt/lagos: . lightcone

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Sun Oct 26 10:21:43 PDT 2008


Author: britton
Date: Sun Oct 26 10:21:42 2008
New Revision: 844
URL: http://yt.spacepope.org/changeset/844

Log:
Added licensing information and uncommented Cosmology imports.

26 October, 2008

Britton Smith

Gimme your ride punk, or I will dust your ass, biotch!



Modified:
   trunk/yt/lagos/Cosmology.py
   trunk/yt/lagos/EnzoCosmology.py
   trunk/yt/lagos/__init__.py
   trunk/yt/lagos/lightcone/LightCone.py
   trunk/yt/lagos/lightcone/LightConeProjection.py
   trunk/yt/lagos/lightcone/__init__.py

Modified: trunk/yt/lagos/Cosmology.py
==============================================================================
--- trunk/yt/lagos/Cosmology.py	(original)
+++ trunk/yt/lagos/Cosmology.py	Sun Oct 26 10:21:42 2008
@@ -1,3 +1,28 @@
+"""
+Cosmology calculator based on http://www.kempner.net/cosmic.php.
+
+Author: Britton Smith <brittons at origins.colorado.edu>
+Affiliation: CASA/University of CO, Boulder
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2008 Britton Smith.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+"""
+
 import numpy as na
 
 c_kms = 2.99792458e5 # c in km/s

Modified: trunk/yt/lagos/EnzoCosmology.py
==============================================================================
--- trunk/yt/lagos/EnzoCosmology.py	(original)
+++ trunk/yt/lagos/EnzoCosmology.py	Sun Oct 26 10:21:42 2008
@@ -1,3 +1,28 @@
+"""
+Conversion functions between time and redshift healthily jacked from Enzo.
+
+Author: Britton Smith <brittons at origins.colorado.edu>
+Affiliation: CASA/University of CO, Boulder
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2008 Britton Smith.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+"""
+
 import numpy as na
 
 kmPerMpc = 3.08567758e19

Modified: trunk/yt/lagos/__init__.py
==============================================================================
--- trunk/yt/lagos/__init__.py	(original)
+++ trunk/yt/lagos/__init__.py	Sun Oct 26 10:21:42 2008
@@ -56,8 +56,8 @@
 
 import time
 
-#from Cosmology import *
-#from EnzoCosmology import *
+from Cosmology import *
+from EnzoCosmology import *
 
 if ytcfg.getboolean("lagos","useswig"):
     try:

Modified: trunk/yt/lagos/lightcone/LightCone.py
==============================================================================
--- trunk/yt/lagos/lightcone/LightCone.py	(original)
+++ trunk/yt/lagos/lightcone/LightCone.py	Sun Oct 26 10:21:42 2008
@@ -1,3 +1,28 @@
+"""
+LightCone class and member functions.
+
+Author: Britton Smith <brittons at origins.colorado.edu>
+Affiliation: CASA/University of CO, Boulder
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2008 Britton Smith.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+"""
+
 from yt.lagos.lightcone import *
 import numpy as na
 import random as rand

Modified: trunk/yt/lagos/lightcone/LightConeProjection.py
==============================================================================
--- trunk/yt/lagos/lightcone/LightConeProjection.py	(original)
+++ trunk/yt/lagos/lightcone/LightConeProjection.py	Sun Oct 26 10:21:42 2008
@@ -1,3 +1,28 @@
+"""
+Create randomly centered, tiled projections to be used in light cones.
+
+Author: Britton Smith <brittons at origins.colorado.edu>
+Affiliation: CASA/University of CO, Boulder
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2008 Britton Smith.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+"""
+
 from yt.lagos.lightcone import *
 import random as rand
 

Modified: trunk/yt/lagos/lightcone/__init__.py
==============================================================================
--- trunk/yt/lagos/lightcone/__init__.py	(original)
+++ trunk/yt/lagos/lightcone/__init__.py	Sun Oct 26 10:21:42 2008
@@ -1,3 +1,28 @@
+"""
+Import stuff for light cone generator.
+
+Author: Britton Smith <brittons at origins.colorado.edu>
+Affiliation: CASA/University of CO, Boulder
+Homepage: http://yt.enzotools.org/
+License:
+  Copyright (C) 2008 Britton Smith.  All Rights Reserved.
+
+  This file is part of yt.
+
+  yt is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 3 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+"""
+
 from yt.mods import *
 
 from LightConeProjection import *



More information about the yt-svn mailing list