<div class="gmail_extra">Hi all,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I've posted an entry on <a href="http://hub.yt-project.org">hub.yt-project.org</a> that takes an image and creates a 2D radial profile.  You can find it here:</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://hub.yt-project.org/AnalysisAndVisualization/rprof2d-simple-radial-profiles-of-2d-images/">http://hub.yt-project.org/AnalysisAndVisualization/rprof2d-simple-radial-profiles-of-2d-images/</a></div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I've been meaning to post this for a long time, so here it finally is.  It is not necessarily the fastest, and doesn't have many bells and whistles, but it gets the job done.  </div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Let me know if you have any questions, and feel free to fork and modify!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Sam<br><br><div class="gmail_quote">

On Sun, Apr 22, 2012 at 8:19 AM, Eric Hallman <span dir="ltr"><<a href="mailto:hallman@txcorp.com" target="_blank">hallman@txcorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Guys,<div>  We have done such things in the past.  I've spoken to Matt briefly about it.  I will look around in the next day or so to see if I still have the routines.  We used it for synthetic X-ray maps, to mimic observed projected profiles.  I only have vague recollections of how it was implemented and where it is, but I'll look around for it asap.  The functionality should be straightforward to reproduce in any case.  </div>

<div><br></div><div>Eric<div><div class="h5"><br><div><div>On Apr 21, 2012, at 2:25 PM, Matthew Turk wrote:</div><br><blockquote type="cite"><div>Hi Max,<br><br>On Sat, Apr 21, 2012 at 11:33 AM, Massimo Gaspari <<a href="mailto:gaspmax@hotmail.com" target="_blank">gaspmax@hotmail.com</a>> wrote:<br>

<blockquote type="cite">Hi guys,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">suppose I performed a 2D data projection of this form:<br></blockquote><blockquote type="cite"><br></blockquote>

<blockquote type="cite">frb = proj.to_frb(width, res, center=c)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">how can I obtain the radial profile of this 2D "map" (say<br></blockquote>

<blockquote type="cite">frb["Temperature"])?<br></blockquote><blockquote type="cite">(I have found only how to perform radial profiles of 3D data, setting a<br></blockquote><blockquote type="cite">certain sphere)<br>

</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Do you have some template?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks in advance!<br></blockquote>

<br>We did at one time has functionality that did this, but it got a<br>little rusty and we did away with it.  In the intervening time, I<br>believe at least two people (on this list) have implemented their own<br>and used it productively, but I think it may be time to return to<br>

this.<br><br>If I understand correctly, what would probably be most useful would be<br>enabling some 2D object to serve as the input to an operaiton that<br>looked like a normal yt profile object, right?  We can probably make<br>

this work.  I'll put it on my todo list for Monday nad see what I can<br>come up with.<br><br>-Matt<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">  Max<br>

</blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">yt-users mailing list<br></blockquote><blockquote type="cite">

<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>

</blockquote><blockquote type="cite"><br></blockquote>_______________________________________________<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/listinfo.cgi/yt-users-spacepope.org</a><br></div></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888"><div>


<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>

-- <br>Eric Hallman<br>Tech-X Corporation               hallman<a href="mailto:kruger@txcorp.com" target="_blank">@txcorp.com</a><br>5621 Arapahoe Ave, Suite A       Phone: <a href="tel:%28720%29%20254-5833" value="+17202545833" target="_blank">(720) 254-5833</a><br>

Boulder, CO 80303                Fax:   <a href="tel:%28303%29%20448-7756" value="+13034487756" target="_blank">(303) 448-7756</a><br>--</div><div><br></div></span><br>
</div>
<br></font></span></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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>