[yt-svn] New issue 325 in yt: Camera fails when normal_vector is in same direction as north_vector

Bitbucket issues-reply at bitbucket.org
Fri Nov 11 16:38:33 PST 2011


--- you can reply above this line ---

New issue 325: Camera fails when normal_vector is in same direction as north_vector
https://bitbucket.org/yt_analysis/yt/issue/325/camera-fails-when-normal_vector-is-in-same

Guillochon on Sat, 12 Nov 2011 01:38:33 +0100:

Description:
  Solution is to just have these two vectors in different directions, but it seems that the function should handle this situation more graceful. Here is the traceback:


{{{
#!python

Traceback (most recent call last):
  File "/share/work1/james/yt_scripts/volume.py", line 43, in <module>
    transfer_function=tf,pf=pf ,north_vector=up, no_ghost=False, sub_samples=10)
  File "/share/work1/james/local/yt-x86_64/src/yt-hg/yt/visualization/volume_rendering/camera.py", line 204, in __init__
    self._setup_normalized_vectors(normal_vector, north_vector)
  File "/share/work1/james/local/yt-x86_64/src/yt-hg/yt/visualization/volume_rendering/camera.py", line 250, in _setup_normalized_vectors
  File "/share/work1/james/local/yt-x86_64/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 1546, in pinv
    transfer_function=tf,pf=pf ,north_vector=up, no_ghost=False, sub_samples=10)
}}}


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list