[Yt-svn] yt-commit r1475 - branches/yt-1.5 branches/yt-1.5/yt/extensions branches/yt-1.5/yt/raven trunk trunk/yt/extensions trunk/yt/raven
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Oct 5 20:03:46 PDT 2009
Author: mturk
Date: Mon Oct 5 20:03:44 2009
New Revision: 1475
URL: http://yt.enzotools.org/changeset/1475
Log:
Updated a few docstrings, rewrote the CREDITS file, rmeoved some options from
the setup.py for 1.5, removed the import of deliveration (which will now always
fail...)
Modified:
branches/yt-1.5/CREDITS
branches/yt-1.5/setup.py
branches/yt-1.5/yt/extensions/HierarchySubset.py
branches/yt-1.5/yt/extensions/SpectralIntegrator.py
branches/yt-1.5/yt/raven/__init__.py
trunk/CREDITS
trunk/yt/extensions/HierarchySubset.py
trunk/yt/extensions/SpectralIntegrator.py
trunk/yt/raven/__init__.py
Modified: branches/yt-1.5/CREDITS
==============================================================================
--- branches/yt-1.5/CREDITS (original)
+++ branches/yt-1.5/CREDITS Mon Oct 5 20:03:44 2009
@@ -1,12 +1,16 @@
YT is a group effort.
-Lead Developer: Matthew Turk (matthewturk at gmail.com)
-Orion Support: Jeff Oishi (jsoishi at gmail.com)
-Cosmology & Fragmentation Analysis: Britton Smith (brittonsmith at gmail.com)
-Galaxy Merger Trees: Stephen Skory (sskory at physics.ucsd.edu)
+Developers: Matthew Turk (matthewturk at gmail.com)
+ Britton Smith (brittonsmith at gmail.com)
+ Jeff Oishi (jsoishi at gmail.com)
+ Stephen Skory (sskory at physics.ucsd.edu)
+ Sam Skillman (samskillman at gmail.com)
+ Devin Silvia (devin.silvia at gmail.com)
+ John Wise (jwise at astro.princeton.edu)
We also include the Delaunay Triangulation module written by Robert Kern of
Enthought, the cmdln.py module by Trent Mick, and the progressbar module by
-Nilton Volpato.
+Nilton Volpato. The PasteBin interface code (as well as the PasteBin itself)
+was written by the Pocoo collective (pocoo.org).
Thanks to everyone for all your contributions!
Modified: branches/yt-1.5/setup.py
==============================================================================
--- branches/yt-1.5/setup.py (original)
+++ branches/yt-1.5/setup.py Mon Oct 5 20:03:44 2009
@@ -64,9 +64,8 @@
url = "http://yt.enzotools.org/",
license="GPL-3",
configuration=configuration,
- app=APP, # for py2app
data_files=DATA_FILES,
- options={'py2app':PY2APP_OPTIONS},
+ options={},
zip_safe=False,
)
return
Modified: branches/yt-1.5/yt/extensions/HierarchySubset.py
==============================================================================
--- branches/yt-1.5/yt/extensions/HierarchySubset.py (original)
+++ branches/yt-1.5/yt/extensions/HierarchySubset.py Mon Oct 5 20:03:44 2009
@@ -35,6 +35,11 @@
class ConstructedRootGrid(object):
id = -1
def __init__(self, pf, level, left_edge, right_edge):
+ """
+ This is a fake root grid, constructed by creating a
+ :class:`yt.lagos.CoveringGridBase` at a given *level* between
+ *left_edge* and *right_edge*.
+ """
self.pf = pf
self.hierarchy = DummyHierarchy()
self.hierarchy.data_style = -1
@@ -90,6 +95,12 @@
def __init__(self, pf, min_level, max_level = -1, offset = None,
always_copy=False):
+ """
+ This is a class that extracts a hierarchy from another hierarchy,
+ filling in regions as necessary. It accepts a parameter file (*pf*), a
+ *min_level*, a *max_level*, and alternately an *offset*. This class is
+ typically or exclusively used to extract for the purposes of visualization.
+ """
self.pf = pf
self.always_copy = always_copy
self.min_level = min_level
Modified: branches/yt-1.5/yt/extensions/SpectralIntegrator.py
==============================================================================
--- branches/yt-1.5/yt/extensions/SpectralIntegrator.py (original)
+++ branches/yt-1.5/yt/extensions/SpectralIntegrator.py Mon Oct 5 20:03:44 2009
@@ -32,7 +32,7 @@
"""
From a table, interpolate over field_names to get resultant luminosity.
Table must be of the style such that it is ordered by
- [field_names[0], field_names[1], ev]
+ ``[field_names[0], field_names[1], ev]``
"""
self.table = table
self.field_names = field_names
@@ -75,6 +75,10 @@
return name
def create_table_from_textfiles(pattern, rho_spec, e_spec, T_spec):
+ """
+ This accepts a CLOUDY text file of emissivities and constructs an
+ interpolation table for spectral integration.
+ """
rho_n_bins, rho_min, rho_max = rho_spec
e_n_bins, e_min, e_max = e_spec
T_n_bins, T_min, T_max = T_spec
Modified: branches/yt-1.5/yt/raven/__init__.py
==============================================================================
--- branches/yt-1.5/yt/raven/__init__.py (original)
+++ branches/yt-1.5/yt/raven/__init__.py Mon Oct 5 20:03:44 2009
@@ -32,11 +32,6 @@
from yt.arraytypes import *
from yt.funcs import *
import yt.lagos as lagos
-try:
- import deliveration
-except:
- #mylog.warning("Deliverator import failed; all deliverator actions will fail!")
- pass
import matplotlib
matplotlib.rc('contour', negative_linestyle='solid')
Modified: trunk/CREDITS
==============================================================================
--- trunk/CREDITS (original)
+++ trunk/CREDITS Mon Oct 5 20:03:44 2009
@@ -1,12 +1,16 @@
YT is a group effort.
-Lead Developer: Matthew Turk (matthewturk at gmail.com)
-Orion Support: Jeff Oishi (jsoishi at gmail.com)
-Cosmology & Fragmentation Analysis: Britton Smith (brittonsmith at gmail.com)
-Galaxy Merger Trees: Stephen Skory (sskory at physics.ucsd.edu)
+Developers: Matthew Turk (matthewturk at gmail.com)
+ Britton Smith (brittonsmith at gmail.com)
+ Jeff Oishi (jsoishi at gmail.com)
+ Stephen Skory (sskory at physics.ucsd.edu)
+ Sam Skillman (samskillman at gmail.com)
+ Devin Silvia (devin.silvia at gmail.com)
+ John Wise (jwise at astro.princeton.edu)
We also include the Delaunay Triangulation module written by Robert Kern of
Enthought, the cmdln.py module by Trent Mick, and the progressbar module by
-Nilton Volpato.
+Nilton Volpato. The PasteBin interface code (as well as the PasteBin itself)
+was written by the Pocoo collective (pocoo.org).
Thanks to everyone for all your contributions!
Modified: trunk/yt/extensions/HierarchySubset.py
==============================================================================
--- trunk/yt/extensions/HierarchySubset.py (original)
+++ trunk/yt/extensions/HierarchySubset.py Mon Oct 5 20:03:44 2009
@@ -35,6 +35,11 @@
class ConstructedRootGrid(object):
id = -1
def __init__(self, pf, level, left_edge, right_edge):
+ """
+ This is a fake root grid, constructed by creating a
+ :class:`yt.lagos.CoveringGridBase` at a given *level* between
+ *left_edge* and *right_edge*.
+ """
self.pf = pf
self.hierarchy = DummyHierarchy()
self.hierarchy.data_style = -1
@@ -90,6 +95,12 @@
def __init__(self, pf, min_level, max_level = -1, offset = None,
always_copy=False):
+ """
+ This is a class that extracts a hierarchy from another hierarchy,
+ filling in regions as necessary. It accepts a parameter file (*pf*), a
+ *min_level*, a *max_level*, and alternately an *offset*. This class is
+ typically or exclusively used to extract for the purposes of visualization.
+ """
self.pf = pf
self.always_copy = always_copy
self.min_level = min_level
Modified: trunk/yt/extensions/SpectralIntegrator.py
==============================================================================
--- trunk/yt/extensions/SpectralIntegrator.py (original)
+++ trunk/yt/extensions/SpectralIntegrator.py Mon Oct 5 20:03:44 2009
@@ -32,7 +32,7 @@
"""
From a table, interpolate over field_names to get resultant luminosity.
Table must be of the style such that it is ordered by
- [field_names[0], field_names[1], ev]
+ ``[field_names[0], field_names[1], ev]``
"""
self.table = table
self.field_names = field_names
@@ -75,6 +75,10 @@
return name
def create_table_from_textfiles(pattern, rho_spec, e_spec, T_spec):
+ """
+ This accepts a CLOUDY text file of emissivities and constructs an
+ interpolation table for spectral integration.
+ """
rho_n_bins, rho_min, rho_max = rho_spec
e_n_bins, e_min, e_max = e_spec
T_n_bins, T_min, T_max = T_spec
Modified: trunk/yt/raven/__init__.py
==============================================================================
--- trunk/yt/raven/__init__.py (original)
+++ trunk/yt/raven/__init__.py Mon Oct 5 20:03:44 2009
@@ -32,11 +32,6 @@
from yt.arraytypes import *
from yt.funcs import *
import yt.lagos as lagos
-try:
- import deliveration
-except:
- #mylog.warning("Deliverator import failed; all deliverator actions will fail!")
- pass
import matplotlib
matplotlib.rc('contour', negative_linestyle='solid')
More information about the yt-svn
mailing list