# openmc.stats.UnitSphere¶

class openmc.stats.UnitSphere(reference_uvw=None)[source]

Distribution of points on the unit sphere.

This abstract class is used for angular distributions, since a direction is represented as a unit vector (i.e., vector on the unit sphere).

Parameters: reference_uvw (Iterable of float) – Direction from which polar angle is measured reference_uvw (Iterable of float) – Direction from which polar angle is measured