pole_density_function#

InversePoleFigurePlot.pole_density_function(*args: ndarray | Vector3d, resolution: float = 0.25, sigma: float = 5, log: bool = False, colorbar: bool = True, weights: ndarray | None = None, **kwargs: Any)[source]#

Compute the Inverse Pole Density Function (IPDF) of vectors in the stereographic projection.

The PDF is computed within the fundamental sector of the point group symmetry. See [Rohrer et al., 2004].

Parameters:
*args

Vector(s), or azimuth and polar angles of the vectors, the latter passed as two separate arguments.

resolution

The angular resolution of the sampling grid in degrees. Default value is 0.25.

sigma

The angular resolution of the applied broadening in degrees. Default value is 5.

log

If True the log(IPDF) is calculated. Default is True.

colorbar

If True a colorbar is shown alongside the IPDF plot. Default is True.

weights

The weights for the individual vectors. If not given, each vector is 1.

**kwargs

Keyword arguments passed to matplotlib.axes.Axes.pcolormesh().

See also

measure.pole_density_function
StereographicPlot.pole_density_function
Vector3d.pole_density_function

Examples using InversePoleFigurePlot.pole_density_function#

Inverse pole density function

Inverse pole density function