<div dir="ltr"><div>Hi Munier,</div><div><br></div><div>I was able to get your script to run (and haveby adding the following line after the yt.mods line:</div><div><br></div><div>from yt.visualization.volume_rendering.api import FisheyeCamera<br>

</div><div><br></div><div>You also want to change the way the images is saved to any of the following:</div><div><div><br></div><div># Save the image</div><div><div>im = cam.snapshot('test1.png')</div><div>im.write_png('test2.png')</div>

</div><div>cam.save_image(im, 'figures/fisheye_mosaic.png')<br></div></div><div><br></div><div>I think we just never added it to the list of pieces that you get from yt.mods.</div><div><br></div><div>Let us know if that works.</div>

<div><br></div><div>I'm not completely surprised that the MosaicFisheye is out of whack. I'm afraid I can't fix that at the moment, but if you wouldn't mind filing an issue and assigning it to me that'd be great.</div>

<div><br></div><div>Best,</div><div>Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 2:35 PM, Munier Azzam Salem <span dir="ltr"><<a href="mailto:msalem@astro.columbia.edu" target="_blank">msalem@astro.columbia.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hey Guys,</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">   I'm trying to run the FisheyeCamera, and got an error that the class cannot be found:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><b><font face="courier new, monospace"><br></font></b></div><div style="font-family:arial,sans-serif;font-size:13px"><div><b><font face="courier new, monospace" color="#0b5394">  File "fisheye.py", line 28, in <module></font></b></div>


<div><b><font face="courier new, monospace" color="#0b5394">    cam = FisheyeCamera(c, radius, fov, N,</font></b></div><div><b><font face="courier new, monospace" color="#0b5394">NameError: name 'FisheyeCamera' is not defined</font></b></div>


<div><br></div><div>       I thought this might be because it was not added to the data_object_registry, so I tried adding it and rebuilding:</div><div><font face="courier new, monospace"><b><br></b></font></div><div><font face="courier new, monospace"><b><font color="#0b5394">data_object_registry["FisheyeCamera"] = FisheyeCamera</font><br>


</b></font></div><div><br></div><div>    but still no dice :/ Any insights here?</div><div><br></div><div>      I also noticed the MosaicFishEye (which I'm guessing helps you render on multiple projectors?), while properly linked up, throws an error, because it calls the function VectorPlane(), in the amr_utils module, which appears to no longer exist in the dev repo.</div>


<div><br></div><div>     <a href="http://pastebin.com/PK0djMtG" target="_blank">My script's up here</a>.</div><div><br></div><div>        thanks!</div><span class="HOEnZb"><font color="#888888"><div>             Munier</div>

<div><br></div><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>
Munier A. Salem // <a href="tel:845.489.6450" value="+18454896450" target="_blank">845.489.6450</a>
</font></span></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>