[yt-users] ProjectionTransferFunction()

Michael Kuhlen mqk at astro.berkeley.edu
Tue Jan 22 13:25:39 PST 2013


Hi all

I'm not having any success with off-axis projections using the
pf.h.camera() with AMRKDTree and ProjectionTransferFunction().
cam.snapshot() returns an all-zeros array, even in situations where
ColorTransferFunction() produces great images.

This script (based on the first part of amrkdtree_downsampling.py)
demonstrates the problem: http://paste.yt-project.org/show/3072/

Any ideas what's going wrong? Maybe something to do with preventing the
log'ing of the field, which I  attempted to do with
"pf.field_info['Density'].take_log=False"?

Thanks for you help!

Mike

-- 
*********************************************************************
*                                                                   *
*  Dr. Michael Kuhlen              Theoretical Astrophysics Center  *
*  email: mqk at astro.berkeley.edu   UC Berkeley                      *
*  cell phone: (831) 588-1468      B-116 Hearst Field Annex # 3411  *
*  skype username: mikekuhlen      Berkeley, CA 94720               *
*                                                                   *
*********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130122/4338f347/attachment.htm>


More information about the yt-users mailing list