<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 28, 2016 at 9:42 AM, Jonah Miller <span dir="ltr"><<a href="mailto:jonah.maxwell.miller@gmail.com" target="_blank">jonah.maxwell.miller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi yt-users,<div><br></div><div>I haven't received a response yet, so I thought I'd try again and ask an even more basic question: are data streams for SPH data even supported? </div></blockquote><div><br></div><div>Not right now, no. In principle it should be possible but I think it will require some modifications to load_particles so the SPH fields are generated. See:</div><div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/issues/1062/add-example-for-loading-an-sph-dataset">https://bitbucket.org/yt_analysis/yt/issues/1062/add-example-for-loading-an-sph-dataset</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>And if not, is there a front-end I should try to look at to mimic? Perhaps the Gadget fronted?</div></blockquote><div><br></div><div>Sure, look at any of the SPH frontends. Note that there's some stuff common to all the SPH frontends in yt.frontends.SPH</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><br></div><div>Thanks in advance!</div><div><br></div><div>Best,</div><div>Jonah Miller<br><br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 25, 2016, 5:49 PM Jonah Miller <<a href="mailto:jonah.maxwell.miller@gmail.com" target="_blank">jonah.maxwell.miller@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi yt-users,<br>
<br>
I'm trying to play around with yt for SPH type data (there's no frontend<br>
for this code). I found out how to load generic particle data via the<br>
load_particle_data stream<br>
(<a href="http://yt-project.org/docs/dev/examining/generic_particle_data.html#generic-particle-data" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/examining/generic_particle_data.html#generic-particle-data</a>)<br>
and I found some information on SPH type data<br>
(<a href="http://yt-project.org/doc/analyzing/fields.html#sph-fields" rel="noreferrer" target="_blank">http://yt-project.org/doc/analyzing/fields.html#sph-fields</a>) but I can't<br>
seem to figure out how to tell yt that I have a smoothing length and a<br>
particle I want to smooth. Is there a way to do this?<br>
<br>
I attach a non-working script showing roughly what I'm trying to do.<br>
<br>
Thanks in advance!<br>
<br>
Best,<br>
Jonah<br>
</blockquote></div></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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>