Box

class mlptrain.box.Box(size: Sequence[float])

Bases: object

__eq__(other)

Equality of two boxes

__init__(size: Sequence[float])

Periodic cuboidal box

property has_zero_volume: bool

Is this box essentially of zero size

property midpoint: ndarray

Midpoint inside this box

property random_point: ndarray

Get a random point inside the box

property volume: float

Volume of this box