Core modules for physics (sknano.core.physics)

Contents

Rigid body calculations

compute_centroid(coords) Compute the centroid of coordinates.
compute_inertia_tensor(masses, coords) Compute the inertia tensor.