pyscfad.pbc.tools.pbc.nimgs_to_lattice_Ls#

pyscfad.pbc.tools.pbc.nimgs_to_lattice_Ls(cell, nimgs=None, dimension=None)[source]#

Get the lattice translation vectors given the number of periodic images.

Parameters:

nimgs (int or tuple) – Number of periodic images in each dimension. Can be a number or a sequence of int.