yt.data_objects.profiles.Profile2D

class yt.data_objects.profiles.Profile2D(data_source, x_field, x_n, x_min, x_max, x_log, y_field, y_n, y_min, y_max, y_log, weight_field=None)[source]

An object that represents a 2D profile.

Parameters:

data_source : AMD3DData object

The data object to be profiled

x_field : string field name

The field to profile as a function of along the x axis.

x_n : integer

The number of bins along the x direction.

x_min : float

The minimum value of the x profile field.

x_max : float

The maximum value of the x profile field.

x_log : boolean

Controls whether or not the bins for the x field are evenly spaced in linear (False) or log (True) space.

y_field : string field name

The field to profile as a function of along the y axis

y_n : integer

The number of bins along the y direction.

y_min : float

The minimum value of the y profile field.

y_max : float

The maximum value of the y profile field.

y_log : boolean

Controls whether or not the bins for the y field are evenly spaced in linear (False) or log (True) space.

weight_field : string field name

The field to weight the profiled fields by.

Attributes

Methods