Function to give length_scale associated with Wigner-Seitz radius.

Used in the notebooks

Used in the tutorials

wigner_seitz_radius float

The radius per particle in atomic units.

n_particles int

The number of particles in the simulation cell.

dimension int

The dimension of the system.

length_scale float

The length scale for the simulation.

ValueError System dimension must be a positive integer.