<div dir="ltr"><div>Hi, Harald--</div><div><br></div><div>If you make a projection like this:<br>>>> proj = pf.h.proj(0,'Density')<br><br></div><div>then proj has most of the quantities you want. <br><br></div>

<div>>>> proj['Density']<br><br></div><div>will give you a flat array of the density in the 2d projection.<br></div><div><br>>>> proj.keys()<br>['pdy', 'pdx', 'weight_field', 'px', 'py', 'Density']<br>

<br></div><div>here, 'pdx' and 'pdy' are the half-widths of the zones, 'px' and 'py' are the positions of the zone centers<br></div><div><br></div><div>It also will get projections that you haven't already done.  For instance, proj['x-velocity'] will make a projection of the x-velocity, then return the array.<br>

<br></div><div>I don't know if you can stick it into BinnedProfiles, but since the arrays are 2d, I always just make my own binning loop, I find it fast enough even on pretty big datasets.  <br><br></div><div>I hope that helps,<br>

d.<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 10:25 AM, Harald Braun <span dir="ltr"><<a href="mailto:hbraun@astro.physik.uni-goettingen.de" target="_blank">hbraun@astro.physik.uni-goettingen.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'd like to do some analysis on projected quantities (or column densities) and quantities derived from those, like ratios etc.<br>
How can I use the output of some projections to derive some other quantities from it?<br>
How can I use those as inputs for BinnedProfileXd()-stuff, to compute profiles and phase plots?<br>
This would be extremely useful for analyzing my disk galaxy simulations.<br>
<br>
Thanks for your help.<br>
<br>
Best.<br>
Harald<br>
______________________________<u></u>_________________<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" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- Sent from a computer.<br></div>
</div>