<html><body>
<p>2 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/178974598dcc/">https://bitbucket.org/yt_analysis/yt/commits/178974598dcc/</a> Changeset:   178974598dcc Branch:      yt User:        mornkr Date:        2016-03-30 14:21:36+00:00 Summary:     Correcting how theta and phi are calculated in _particle_velocity_spherical_radius, _particle_velocity_spherical_theta, _particle_velocity_cylindrical_radius, and _particle_velocity_cylindrical_radius. Affected #:  1 file</p>
<p>diff -r b6dad5b69998cff732a5c3ea7847a4b01092ffc8 -r 178974598dcc9a0e0f848a78bbbc094835dd0e49 yt/fields/particle_fields.py --- a/yt/fields/particle_fields.py +++ b/yt/fields/particle_fields.py @@ -493,10 +493,10 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<p>+        pos = pos – np.reshape(center, (3, 1)) +        vel = vel – np.reshape(bv, (3, 1))</p>
<pre>theta = get_sph_theta(pos, normal)
phi = get_sph_phi(pos, normal)</pre>
<ul><li><p>pos = pos – np.reshape(center, (3, 1))</p></li>
<li><p>vel = vel – np.reshape(bv, (3, 1)) sphr = get_sph_r_component(vel, theta, phi, normal) return sphr</p></li></ul>
<p>@@ -536,10 +536,10 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<p>+        pos = pos – np.reshape(center, (3, 1)) +        vel = vel – np.reshape(bv, (3, 1))</p>
<pre>theta = get_sph_theta(pos, normal)
phi = get_sph_phi(pos, normal)</pre>
<ul><li><p>pos = pos – np.reshape(center, (3, 1))</p></li>
<li><p>vel = vel – np.reshape(bv, (3, 1)) spht = get_sph_theta_component(vel, theta, phi, normal) return spht</p></li></ul>
<p>@@ -664,9 +664,9 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<ul><li><p>theta = get_cyl_theta(pos, normal) pos = pos – np.reshape(center, (3, 1)) vel = vel – np.reshape(bv, (3, 1))</p></li></ul>
<p>+        theta = get_cyl_theta(pos, normal)</p>
<pre>        cylr = get_cyl_r_component(vel, theta, normal)
        return cylr
</pre>
<p>@@ -688,9 +688,9 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<ul><li><p>theta = get_cyl_theta(pos, normal) pos = pos – np.reshape(center, (3, 1)) vel = vel – np.reshape(bv, (3, 1))</p></li></ul>
<p>+        theta = get_cyl_theta(pos, normal)</p>
<pre>        cylt = get_cyl_theta_component(vel, theta, normal)
        return cylt
</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/0efafb0e5d0f/">https://bitbucket.org/yt_analysis/yt/commits/0efafb0e5d0f/</a> Changeset:   0efafb0e5d0f Branch:      yt User:        ngoldbaum Date:        2016-04-06 18:29:14+00:00 Summary:     Merged in mornkr/yt (pull request #2097)</p>
<p>Correcting how theta and phi are calculated in _particle_velocity_spherical_radius, _particle_velocity_spherical_theta, _particle_velocity_cylindrical_radius, and _particle_velocity_cylindrical_theta. Affected #:  1 file</p>
<p>diff -r 58f3b309fa309c38f23f5a6aecbbedc608b2629d -r 0efafb0e5d0f909bfe66aa9aa8689fdc02ace2be yt/fields/particle_fields.py --- a/yt/fields/particle_fields.py +++ b/yt/fields/particle_fields.py @@ -493,10 +493,10 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<p>+        pos = pos – np.reshape(center, (3, 1)) +        vel = vel – np.reshape(bv, (3, 1))</p>
<pre>theta = get_sph_theta(pos, normal)
phi = get_sph_phi(pos, normal)</pre>
<ul><li><p>pos = pos – np.reshape(center, (3, 1))</p></li>
<li><p>vel = vel – np.reshape(bv, (3, 1)) sphr = get_sph_r_component(vel, theta, phi, normal) return sphr</p></li></ul>
<p>@@ -536,10 +536,10 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<p>+        pos = pos – np.reshape(center, (3, 1)) +        vel = vel – np.reshape(bv, (3, 1))</p>
<pre>theta = get_sph_theta(pos, normal)
phi = get_sph_phi(pos, normal)</pre>
<ul><li><p>pos = pos – np.reshape(center, (3, 1))</p></li>
<li><p>vel = vel – np.reshape(bv, (3, 1)) spht = get_sph_theta_component(vel, theta, phi, normal) return spht</p></li></ul>
<p>@@ -664,9 +664,9 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<ul><li><p>theta = get_cyl_theta(pos, normal) pos = pos – np.reshape(center, (3, 1)) vel = vel – np.reshape(bv, (3, 1))</p></li></ul>
<p>+        theta = get_cyl_theta(pos, normal)</p>
<pre>        cylr = get_cyl_r_component(vel, theta, normal)
        return cylr
</pre>
<p>@@ -688,9 +688,9 @@</p>
<pre>bv = data.get_field_parameter("bulk_velocity")
pos = data.ds.arr([data[ptype, spos % ax] for ax in "xyz"])
vel = data.ds.arr([data[ptype, svel % ax] for ax in "xyz"])</pre>
<ul><li><p>theta = get_cyl_theta(pos, normal) pos = pos – np.reshape(center, (3, 1)) vel = vel – np.reshape(bv, (3, 1))</p></li></ul>
<p>+        theta = get_cyl_theta(pos, normal)</p>
<pre>cylt = get_cyl_theta_component(vel, theta, normal)
return cylt</pre>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>

<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27AMxC48GZny3sVutrcB1HPYcxDNFtSTkguEKFEJWEQ8tDr-2BKKX0tbnwMb1bSG5Q2JLCfidD5kp4DYpPxj1AXszNsGQSORpel0pO0PkxmLzoPbrBvOWSWq9kfzsJpQgGpkj4DkilZOItuGCUMROqrhCJcB9A-2BQvcMxDUq1Tbm5xl448HFgxJlHfy03HXlzwSKKc-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>