[yt-users] Trouble projecting a derived field

Nathan Goldbaum goldbaum at ucolick.org
Tue Sep 6 17:54:55 PDT 2011


Hello all,

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.

Unfortunately, I'm having some trouble making projected maps of the orbital frequency.  I've defined two new derived fields, CylinderRadius and AngularVelocity (http://paste.yt-project.org/show/1784/).

When I try to project the AngularVelocity field, I get what looks like garbage: http://i.imgur.com/PkYhe.png

However, slices work just fine: http://i.imgur.com/NnEbq.png

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.

Best regards,
Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC
goldbaum at ucolick.org
http://www.ucolick.org/~goldbaum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110906/a871e385/attachment.htm>


More information about the yt-users mailing list