[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat May 18 06:22:57 PDT 2013


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/49fc7fda46e6/
Changeset:   49fc7fda46e6
Branch:      yt
User:        MatthewTurk
Date:        2013-05-17 23:48:15
Summary:     Allsky images need 4 components.
Affected #:  1 file

diff -r 03c08d0a79ca8ee6acda5fb4565d4fa9ff5eb58f -r 49fc7fda46e6929e965f272ecad5e019b0172da9 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -2017,7 +2017,7 @@
             function=_make_wf(field, weight))
         fields = ["temp_weightfield", weight]
     nv = 12*nside**2
-    image = np.zeros((nv,1,3), dtype='float64', order='C')
+    image = np.zeros((nv,1,4), dtype='float64', order='C')
     vs = arr_pix2vec_nest(nside, np.arange(nv))
     vs.shape = (nv,1,3)
     if rotation is not None:


https://bitbucket.org/yt_analysis/yt/commits/a928d1c5ff29/
Changeset:   a928d1c5ff29
Branch:      yt
User:        samskillman
Date:        2013-05-18 15:22:52
Summary:     Merged in MatthewTurk/yt (pull request #503)

Allsky images need 4 components.
Affected #:  1 file

diff -r 3198255d44ea4b3e41f25deeb8ef2b85677e563c -r a928d1c5ff2929339a3af07e0b8eb735c3c46bcd yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py
+++ b/yt/visualization/volume_rendering/camera.py
@@ -2017,7 +2017,7 @@
             function=_make_wf(field, weight))
         fields = ["temp_weightfield", weight]
     nv = 12*nside**2
-    image = np.zeros((nv,1,3), dtype='float64', order='C')
+    image = np.zeros((nv,1,4), dtype='float64', order='C')
     vs = arr_pix2vec_nest(nside, np.arange(nv))
     vs.shape = (nv,1,3)
     if rotation is not None:

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