<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello all,</div><div><br></div><div>Right now I'm trying to generate maps of the Toomre Q in an isolated galaxy simulation.  To do so, I'm using yt to generate maps of the gas column density as well as density-weighted projections of the sound speed and orbital frequency, which I'm using as a proxy for the epicyclic frequency.</div><div><br></div><div>Unfortunately, I'm having some trouble making projected maps of the orbital frequency.  I've defined two new derived fields, CylinderRadius and AngularVelocity (<a href="http://paste.yt-project.org/show/1784/">http://paste.yt-project.org/show/1784/</a>).</div><div><br></div><div>When I try to project the AngularVelocity field, I get what looks like garbage: <a href="http://i.imgur.com/PkYhe.png">http://i.imgur.com/PkYhe.png</a></div><div><br></div><div>However, slices work just fine: <a href="http://i.imgur.com/NnEbq.png">http://i.imgur.com/NnEbq.png</a></div><div><br></div><div>I've written the derived fields in a coordinate-dependent way, since I'll always be doing projections down a fixed axis.  Is that where my problem lies?  My understanding of how yt does projections is too shallow to figure out exactly what's going wrong here, so I'm hoping the collective wisdom of the yt developers and user base can come to the rescue.</div><div><br></div><div>Best regards,</div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Nathan Goldbaum<br>Graduate Student<br>Astronomy & Astrophysics, UCSC<br><a href="mailto:goldbaum@ucolick.org">goldbaum@ucolick.org</a><br>http://www.ucolick.org/~goldbaum</div></div></div>
</div>
<br></body></html>