[yt-users] radial profile algorithm

Matthew Turk matthewturk at gmail.com
Tue Jul 9 12:08:32 PDT 2013


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 at 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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list