[yt-users] FixedResolutionBuffer problem

Stephen Skory s at skory.us
Wed Apr 27 16:24:43 PDT 2011


Hi all,

I am attempting to follow the examples of how to make a fixed
resolution buffer, and I have run into a problem. If I follow the
first example on this page
<http://yt.enzotools.org/doc/analyzing/generating_processed_data.html>:

sl = pf.h.proj(0, 0.6)
frb = FixedResolutionBuffer(sl, (0.3, 0.5, 0.6, 0.8), (512, 512))
my_image = frb["Density"]

I get this error <http://paste.enzotools.org/show/1603/> which makes
it look like it's trying to use the second term of .proj() '0.6' as a
data field. So, if I change things to:

sl = pf.h.proj(0, 'Density')

I get this error <http://paste.enzotools.org/show/1604/> complaining
about 'px'. Am I doing something wrong, or is this a bug? I am using
4216:5c6f932b9f34. Thanks!


-- 
Stephen Skory
s at skory.us
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-users mailing list