
Dear all, How radial profile calculation is defined in yt. Please tell me where i can find the source code of radial profile plotter in the yt distribution. ThankYou -- Reju Sam John

Hi Reju, The algorithm is described in the method paper: http://adsabs.harvard.edu/abs/2011ApJS..192....9T It's not specifically a "radial profile" algorithm, it's a generalized binning algorithm that identifies left and right edges for fields and then deposits into those bins. In the case of a radial profile, the field that is being binned-by is the radius field, which is defined in universal_fields.py. Note that in addition to the source being available on the command line, the yt docs also include the source for derived fields. There are several ways that the secondary field is binned as a function of the first, for instance either by clipping at the edges of the bins, by averaging or summing within a bin, and also by choosing the bin spacing. -Matt On Tue, Jul 9, 2013 at 12:46 PM, Reju Sam John <rejusamjohn@gmail.com> wrote:
Dear all,
How radial profile calculation is defined in yt. Please tell me where i can find the source code of radial profile plotter in the yt distribution.
ThankYou
-- Reju Sam John
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Thankyou.. Thankyou very much.. On Jul 10, 2013 12:39 AM, "Matthew Turk" <matthewturk@gmail.com> wrote:
Hi Reju,
The algorithm is described in the method paper:
http://adsabs.harvard.edu/abs/2011ApJS..192....9T
It's not specifically a "radial profile" algorithm, it's a generalized binning algorithm that identifies left and right edges for fields and then deposits into those bins. In the case of a radial profile, the field that is being binned-by is the radius field, which is defined in universal_fields.py. Note that in addition to the source being available on the command line, the yt docs also include the source for derived fields. There are several ways that the secondary field is binned as a function of the first, for instance either by clipping at the edges of the bins, by averaging or summing within a bin, and also by choosing the bin spacing.
-Matt
On Tue, Jul 9, 2013 at 12:46 PM, Reju Sam John <rejusamjohn@gmail.com> wrote:
Dear all,
How radial profile calculation is defined in yt. Please tell me where i can find the source code of radial profile plotter in the yt distribution.
ThankYou
-- Reju Sam John
_______________________________________________ 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
participants (2)
-
Matthew Turk
-
Reju Sam John