Examples
Jax-DimeNet++
Custom functions simplifying the handling of fractional coordinates.
Returns a 2D box tensor and a scale function that projects positions within a box in real space to the unit-hypercube as required by fractional coordinates.
box (Union[float, ndarray]) – A 1 or 2-dimensional box
Union
float
ndarray
Tuple[Union[float, ndarray], Callable]
Tuple
Callable
A tuple (box, scale_fn) of a 2D box tensor and a scale_fn that scales positions in real-space to the unit hypercube.