<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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<br><div><div>On Apr 21, 2012, at 2:25 PM, Matthew Turk wrote:</div><br class="Apple-interchange-newline"><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">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">yt-users@lists.spacepope.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">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">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Eric Hallman<br>Tech-X Corporation               hallman<a href="mailto:kruger@txcorp.com">@txcorp.com</a><br>5621 Arapahoe Ave, Suite A       Phone: (720) 254-5833<br>Boulder, CO 80303                Fax:   (303) 448-7756<br>--</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>