<div dir="ltr"><div>Hello,<br><br>I am trying to make a fixed resolution buffer of a projection of a region in one of my simulations.  Here is the relevant part of the script:<br><br>size=0.025<br>center=[0.48,0.545,1.003]<br>
right0=[center[0]+size,center[1]+size,center[2]+size]<br>left0=[center[0]-size,center[1]-size,center[2]-size]<br>region=pf.h.region(center,left0,right0)<br>p=pf.h.proj(0,"Density",data_source=region)<br>test=FixedResolutionBuffer(p,[0.52,0.57,0.978,1.028],(512,512))<br>
f=h5py.File("test.h5","w")<br>f.create_dataset("/density",data=test["Density"])<br>f.close<br><br></div>When I write the buffer to a h5 file, it seems to be projecting through the whole domain, instead of only the 0.05x0.05x0.05 region I specify.  Any ideas what I am doing wrong?<br>
<br>Thanks,<br><br>Mike<br><div><br></div></div>