
Hi guys, suppose I performed a 2D data projection of this form: frb = proj.to_frb(width, res, center=c) how can I obtain the radial profile of this 2D "map" (say frb["Temperature"])?(I have found only how to perform radial profiles of 3D data, setting a certain sphere) Do you have some template? Thanks in advance! Max

Hi Max, I do not believe that the functionality that you're describing currently exists, but someone should correct me if I'm wrong. I don't think it would too difficult to implement something that works with the frb data just as you describe. I think something like this has been on other people's minds as well, so perhaps someone is interested in working on this. I would be glad to help out or talk with someone about what to do if anyone is interested. Britton On Sat, Apr 21, 2012 at 11:33 AM, Massimo Gaspari <gaspmax@hotmail.com>wrote:
Hi guys,
suppose I performed a 2D data projection of this form:
frb = proj.to_frb(width, res, center=c)
how can I obtain the radial profile of this 2D "map" (say frb["Temperature"])? (I have found only how to perform radial profiles of 3D data, setting a certain sphere)
Do you have some template?
Thanks in advance!
Max
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Hi Max, On Sat, Apr 21, 2012 at 11:33 AM, Massimo Gaspari <gaspmax@hotmail.com> wrote:
Hi guys,
suppose I performed a 2D data projection of this form:
frb = proj.to_frb(width, res, center=c)
how can I obtain the radial profile of this 2D "map" (say frb["Temperature"])? (I have found only how to perform radial profiles of 3D data, setting a certain sphere)
Do you have some template?
Thanks in advance!
We did at one time has functionality that did this, but it got a little rusty and we did away with it. In the intervening time, I believe at least two people (on this list) have implemented their own and used it productively, but I think it may be time to return to this. If I understand correctly, what would probably be most useful would be enabling some 2D object to serve as the input to an operaiton that looked like a normal yt profile object, right? We can probably make this work. I'll put it on my todo list for Monday nad see what I can come up with. -Matt
Max
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Guys, 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. Eric On Apr 21, 2012, at 2:25 PM, Matthew Turk wrote:
Hi Max,
On Sat, Apr 21, 2012 at 11:33 AM, Massimo Gaspari <gaspmax@hotmail.com> wrote:
Hi guys,
suppose I performed a 2D data projection of this form:
frb = proj.to_frb(width, res, center=c)
how can I obtain the radial profile of this 2D "map" (say frb["Temperature"])? (I have found only how to perform radial profiles of 3D data, setting a certain sphere)
Do you have some template?
Thanks in advance!
We did at one time has functionality that did this, but it got a little rusty and we did away with it. In the intervening time, I believe at least two people (on this list) have implemented their own and used it productively, but I think it may be time to return to this.
If I understand correctly, what would probably be most useful would be enabling some 2D object to serve as the input to an operaiton that looked like a normal yt profile object, right? We can probably make this work. I'll put it on my todo list for Monday nad see what I can come up with.
-Matt
Max
_______________________________________________ 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
-- Eric Hallman Tech-X Corporation hallman@txcorp.com 5621 Arapahoe Ave, Suite A Phone: (720) 254-5833 Boulder, CO 80303 Fax: (303) 448-7756 --

Hi all, I've posted an entry on hub.yt-project.org that takes an image and creates a 2D radial profile. You can find it here: http://hub.yt-project.org/AnalysisAndVisualization/rprof2d-simple-radial-pro... 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. Let me know if you have any questions, and feel free to fork and modify! Sam On Sun, Apr 22, 2012 at 8:19 AM, Eric Hallman <hallman@txcorp.com> wrote:
Guys, 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.
Eric
On Apr 21, 2012, at 2:25 PM, Matthew Turk wrote:
Hi Max,
On Sat, Apr 21, 2012 at 11:33 AM, Massimo Gaspari <gaspmax@hotmail.com> wrote:
Hi guys,
suppose I performed a 2D data projection of this form:
frb = proj.to_frb(width, res, center=c)
how can I obtain the radial profile of this 2D "map" (say
frb["Temperature"])?
(I have found only how to perform radial profiles of 3D data, setting a
certain sphere)
Do you have some template?
Thanks in advance!
We did at one time has functionality that did this, but it got a little rusty and we did away with it. In the intervening time, I believe at least two people (on this list) have implemented their own and used it productively, but I think it may be time to return to this.
If I understand correctly, what would probably be most useful would be enabling some 2D object to serve as the input to an operaiton that looked like a normal yt profile object, right? We can probably make this work. I'll put it on my todo list for Monday nad see what I can come up with.
-Matt
Max
_______________________________________________
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
-- Eric Hallman Tech-X Corporation hallman@txcorp.com <kruger@txcorp.com> 5621 Arapahoe Ave, Suite A Phone: (720) 254-5833 Boulder, CO 80303 Fax: (303) 448-7756 --
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (5)
-
Britton Smith
-
Eric Hallman
-
Massimo Gaspari
-
Matthew Turk
-
Sam Skillman