[Yt-svn] commit/yt: MatthewTurk: Fixing AMRRay example code.

Bitbucket commits-noreply at bitbucket.org
Wed Jun 1 16:53:04 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/d44da4527440/
changeset:   d44da4527440
branches:    
user:        MatthewTurk
date:        2011-06-02 01:50:16
summary:     Fixing AMRRay example code.
affected #:  1 file (24 bytes)

--- a/yt/data_objects/data_containers.py	Wed Jun 01 13:01:33 2011 -0400
+++ b/yt/data_objects/data_containers.py	Wed Jun 01 19:50:16 2011 -0400
@@ -581,8 +581,8 @@
         --------
 
         >>> pf = load("RedshiftOutput0005")
-        >>> ray = pf.h._ray((0.2, 0.74), (0.4, 0.91))
-        >>> print ray["Density"], ray["t"]
+        >>> ray = pf.h._ray((0.2, 0.74, 0.11), (0.4, 0.91, 0.31))
+        >>> print ray["Density"], ray["t"], ray["dts"]
         """
         AMR1DData.__init__(self, pf, fields, **kwargs)
         self.start_point = na.array(start_point, dtype='float64')

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list