<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi Matt, I've been thinking about the need for us to create some special verification datasets where we know what the right answer is, so we can test the various routines, like the streamline plot, to see if we get the expected plot.  These should be conceptually simple datasets (like a left-handed vortex of vectors) where we know what the result should look like.  <div><br></div><div>I had tried something earlier with a volume render dataset when I was playing with left/right handedness. In that case, I had simply made my dataset in NumPy as a cubic array and then fed it into yt -- that seems to be an easy route to testing these things.</div><div><br></div><div>Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 6:06 PM, Matthew Turk <span dir="ltr"><<a href="mailto:issues-reply@bitbucket.org" target="_blank">issues-reply@bitbucket.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">New issue 1009: Streamline plot callback may be transposed<br>
<a href="https://bitbucket.org/yt_analysis/yt/issue/1009/streamline-plot-callback-may-be-transposed" target="_blank">https://bitbucket.org/yt_analysis/yt/issue/1009/streamline-plot-callback-may-be-transposed</a><br>
<br>
Matthew Turk:<br>
<br>
In debugging the streamline plot callback, I've run into something odd.  I'm hoping @jwise77 , who wrote it originally, might be able to chime in.<br>
<br>
It's not clear to me that we are doing "the right thing" since we have an image plot which is using `origin='lower'` and a streamline plot that is not.  Additionally, the x, y ordering requires us *not* to transpose the resultant image buffers to get the right shape of our array, if we have a non-unitary input buffer.<br>
<br>
In short, I think the inputs may be transposed but shouldn't be, and I'm not sure the streamplot is right.<br>
<br>
Responsible: MatthewTurk<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div><div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div><div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div></div>
</div>