<div dir="ltr"><div>It looks like I spoke too soon. It turns out that you can't smooth SPH smoothed fields onto a covering grid or an arbitrary grid. I thought this worked but I guess I was mistaken. I've filed an issue with a feature request for this here:</div><div><br></div><div><a href="https://github.com/yt-project/yt/issues/1436">https://github.com/yt-project/yt/issues/1436</a><br></div><div><br></div><div>In principle I think this would be relatively easy to do. I'm in the middle of working on a significant change in how yt supports SPH particle data, I will make sure that this gets done as part of that.</div><div><br></div><div>For now you can use covering grids and arbitrary grids with a locally deposited field, here's an example using the deposited dark matter density:</div><div><br></div><div><a href="https://gist.github.com/72803576524833663793e7a10563b6b3">https://gist.github.com/72803576524833663793e7a10563b6b3</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 4:39 PM, 梁家豪 <span dir="ltr"><<a href="mailto:setsuna@phys.tw" target="_blank">setsuna@phys.tw</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">Hi Nathan!<div><br></div><div>Do you mean that I should put <span style="font-size:14px">deposit fields </span>instead of GIZMO data <span style="font-size:14px">into covering grid/ </span><span style="font-size:14px">arbitrary_grid</span><span style="font-size:14px">?</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-06-01 5:14 GMT+08:00 Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The covering grid should work with deposit fields.</div><div><br></div><div>You could also look at the arbitrary_grid, which is a little bit less restrictive than covering_grid about the resolution and left and right edge.</div><div><br></div><div><br><div class="gmail_quote"><div><div class="m_-3453001115049937893h5"><div>On Wed, May 31, 2017 at 4:11 PM 梁家豪 <<a href="mailto:setsuna@phys.tw" target="_blank">setsuna@phys.tw</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-3453001115049937893h5"><div>Hello yt-commuinty,<div><br></div><div>I was trying to use yt to analyse GIZMO data. </div><div>Is there a function which can translate GIZMO gas data,particle0, to uniform grid with neutral hydrogen,velocity,temperature.<wbr>etc?</div><div>I know the "deposit " field and covering_grid in yt, but "deposit"  isn't uniform and covering_grid is designed for grid-like data..</div><div><br></div><div>Thank you!</div><div>Edward</div></div></div></div>
______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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/lis<wbr>tinfo.cgi/yt-users-spacepope.<wbr>org</a><br>
</blockquote></div></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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/lis<wbr>tinfo.cgi/yt-users-spacepope.<wbr>org</a><br>
<br></blockquote></div><br></div>
</div></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>