Skip to content

Commit

Permalink
[svn r1475] Updated a few docstrings, rewrote the CREDITS file, rmeov…
Browse files Browse the repository at this point in the history
…ed some options from

the setup.py for 1.5, removed the import of deliveration (which will now always
fail...)

--HG--
branch : trunk
  • Loading branch information
matthewturk committed Oct 6, 2009
1 parent e73da78 commit 70b6c7a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 11 deletions.
14 changes: 9 additions & 5 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
YT is a group effort.

Lead Developer: Matthew Turk ([email protected])
Orion Support: Jeff Oishi ([email protected])
Cosmology & Fragmentation Analysis: Britton Smith ([email protected])
Galaxy Merger Trees: Stephen Skory ([email protected])
Developers: Matthew Turk ([email protected])
Britton Smith ([email protected])
Jeff Oishi ([email protected])
Stephen Skory ([email protected])
Sam Skillman ([email protected])
Devin Silvia ([email protected])
John Wise ([email protected])

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!
11 changes: 11 additions & 0 deletions yt/extensions/HierarchySubset.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ class DummyHierarchy(object):
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
Expand Down Expand Up @@ -90,6 +95,12 @@ class ExtractedHierarchy(object):

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
Expand Down
6 changes: 5 additions & 1 deletion yt/extensions/SpectralIntegrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, table, field_names,
"""
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
Expand Down Expand Up @@ -75,6 +75,10 @@ def frequency_bin_field(field, data):
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
Expand Down
5 changes: 0 additions & 5 deletions yt/raven/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 70b6c7a

Please sign in to comment.