<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>I'm trying to use FixedResolutionBuffer to generate 2d projections following the example in the docs (<a href="http://yt-project.org/doc/analyzing/generating_processed_data.html">http://yt-project.org/doc/analyzing/generating_processed_data.html</a>)</div><div><br></div><div>from yt.mods import *</div><div>pf = load("DD0000/test_disk_0000")</div><div>projden = pf.h.proj(0,'Density',data_source=pf.h.all_data(),center=[0.5,0.5,0.5])</div><div>frb = FixedResolutionBuffer(projden,(0,0,1,1),(512,512))</div><div>print frb['Density']</div><div><div>------> print(frb['Density'])</div><div>yt : [INFO     ] 2011-09-02 00:03:10,273 Making a fixed resolution buffer of 512 by 512</div><div>[[ nan  nan  nan ...,  nan  nan  nan]</div><div> [ nan  nan  nan ...,  nan  nan  nan]</div><div> [ nan  nan  nan ...,  nan  nan  nan]</div><div> ..., </div><div> [ nan  nan  nan ...,  nan  nan  nan]</div><div> [ nan  nan  nan ...,  nan  nan  nan]</div><div> [ nan  nan  nan ...,  nan  nan  nan]]</div></div><div><br></div><div>Is there a problem with how I'm creating the buffer?  I'm pretty sure the way this is done in the docs on the page I linked is incorrect, since I get an error when I do when I try to say</div><div><br></div><div>sl = pf.h.proj(0,0.5)</div><div><br></div><div>Thanks for your help,</div><div>Nathan</div><div><br></div></body></html>