[yt-users] Profile of a projected quantity?

Matthew Turk matthewturk at gmail.com
Wed Apr 30 18:24:55 PDT 2014


Hi Nathan,

On Wed, Apr 30, 2014 at 8:35 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> Hi all,
>
> Is there a way for me to find a profile using a projection as a data source?
> In particular, I'd like to find a radial profile of a surface density in a
> disk galaxy simulation.
>
> I think I could do this by histogramming a fixed resolution buffer created
> by a projection data source but is that the only way to do it?  I'd prefer
> for my data pipeline to look identical for computing profiles and in all
> other cases I'm using a Profile1D object to find things like the cumulative
> mass or the average density as a function of radius.

I believe this is what has been done in the past -- Sam wrote a set of
scripts that did it this way.  I think, though, that you might be able
to use the cylindrical radius derived fields and then accumulate
within them.  Would that get to where you want the analysis?

-Matt

>
> Thanks for your help with this!
>
> -Nathan
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list