Hi John,
Thanks a lot.

-Sandhya

On Sat, May 25, 2019 at 6:09 PM John ZuHone <jzuhone@gmail.com> wrote:
Hi Sandhya,

I saw your issue at pyXSIM, I will try to respond there later today. Unfortunately the last few days have been very busy.

The upshot is that you don’t need to (and shouldn’t) re-grid the voronoi cells to a uniform grid, but just use them directly. But you do need to get them into a form yt will understand. When I have a chance later this afternoon I will send you the script to do it.

John Z

On May 25, 2019, at 8:20 AM, sandhya j <sandhya0892@gmail.com> wrote:

Hello,
I am trying to create mock X-ray observations of galaxy clusters and to this end, I am using IllustrisTNG simulations. I began with creating mock X-ray observation of one halo.
I am using yt.create_uniform_grid to create a yt dataset consisting of density and temperature values. However, I am having issues with creating the box as the density and temperature values are a one-dimensional array with N values specified at N coordinates. How do I convert a 3D ungridded data into a uniform grid?
Or broadly if somebody could guide me on how to create a yt dataset for IllustrisTNG data?
Thank you in advance!
-Sandhya

_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org