<div dir="ltr">Hi Arpan,<div><br></div><div>Ray objects have a special field, "dts", which is the length of the segment through each cell normalized so that the sum over the whole ray is 1.  You can multiply this by the length of the ray to get what you need.  If you want the width of the cell through which the ray is passing, you can use the "dx" field.</div><div><br></div><div>Britton</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 14, 2017 at 7:49 AM, Arpan Das <span dir="ltr"><<a href="mailto:arpan.physics13@gmail.com" target="_blank">arpan.physics13@gmail.com</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">Hello, <br><br>I am using YT to cast rays within some galaxies simulated using ENZO. I am using YTray for the purpose. But I am not sure if there is any way to save the array of cell width through which the rays are passing. I know there are some quantities like ('index', 'radius'), ('index', 'spherical_radius'), ('index', 'virial_radius_fraction'). But I am not sure exactly which one of them is the width of the cell. Any help would be appreciated. Thanking you in advance, <span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><div class="m_5390783213953180003gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><b>Arpan Das</b><br><br></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div>