3D physical properties from projection plot
Hi All, I'm trying to calculate some physical properties from a gadget data set on a similar grid as projection plot, but in 3D. That is, if I calculate a projection plot:
px_gas = yt.ProjectionPlot(ds,"z",("gas","density")) px_gas_frb = px_gas.frb
then I can access the gas surface density values in some 800x800 (or whatever) 2D array. What I would like is to be able to get the gas physical properties in the 800x800x800 (or whatever) grid that yt is integrating along to give me the Projection Plot (in particular the gas mass, and the gas velocity vectors). Is this possible? Thanks a lot, -d
Hi Desika, It's not right now, no. In principal it could be computed and stored, but it'd take a bit of work. On Mon, Jun 22, 2015 at 11:05 AM, Desika Narayanan <dnarayan@haverford.edu> wrote:
Hi All,
I'm trying to calculate some physical properties from a gadget data set on a similar grid as projection plot, but in 3D. That is, if I calculate a projection plot:
px_gas = yt.ProjectionPlot(ds,"z",("gas","density")) px_gas_frb = px_gas.frb
then I can access the gas surface density values in some 800x800 (or whatever) 2D array. What I would like is to be able to get the gas physical properties in the 800x800x800 (or whatever) grid that yt is integrating along to give me the Projection Plot (in particular the gas mass, and the gas velocity vectors).
Is this possible?
Thanks a lot, -d
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Is this different than a covering grid spanning the region you would project? On Mon, Jun 22, 2015 at 5:07 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Desika,
It's not right now, no. In principal it could be computed and stored, but it'd take a bit of work.
On Mon, Jun 22, 2015 at 11:05 AM, Desika Narayanan <dnarayan@haverford.edu> wrote:
Hi All,
I'm trying to calculate some physical properties from a gadget data set on a similar grid as projection plot, but in 3D. That is, if I calculate a projection plot:
px_gas = yt.ProjectionPlot(ds,"z",("gas","density")) px_gas_frb = px_gas.frb
then I can access the gas surface density values in some 800x800 (or whatever) 2D array. What I would like is to be able to get the gas physical properties in the 800x800x800 (or whatever) grid that yt is integrating along to give me the Projection Plot (in particular the gas mass, and the gas velocity vectors).
Is this possible?
Thanks a lot, -d
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hey Britton, Thanks for suggesting this - I'm going to play with this a bit, but a quick look suggests that this might be what I'm looking for! -d On Mon, Jun 22, 2015 at 12:23 PM, Britton Smith <brittonsmith@gmail.com> wrote:
Is this different than a covering grid spanning the region you would project?
On Mon, Jun 22, 2015 at 5:07 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Desika,
It's not right now, no. In principal it could be computed and stored, but it'd take a bit of work.
On Mon, Jun 22, 2015 at 11:05 AM, Desika Narayanan <dnarayan@haverford.edu> wrote:
Hi All,
I'm trying to calculate some physical properties from a gadget data set on a similar grid as projection plot, but in 3D. That is, if I calculate a projection plot:
px_gas = yt.ProjectionPlot(ds,"z",("gas","density")) px_gas_frb = px_gas.frb
then I can access the gas surface density values in some 800x800 (or whatever) 2D array. What I would like is to be able to get the gas physical properties in the 800x800x800 (or whatever) grid that yt is integrating along to give me the Projection Plot (in particular the gas mass, and the gas velocity vectors).
Is this possible?
Thanks a lot, -d
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (3)
-
Britton Smith -
Desika Narayanan -
Matthew Turk