compute_cell_shifts_strict

torch_sim.transforms.compute_cell_shifts_strict(cell, shifts_idx, system_mapping)[source]

Same thing as compute_cell_shifts, but cell cannot be None. Having a non-optional cell makes torchjit not complain.

Parameters:
Return type:

Tensor