to_mps_geometry

tenpy.tools.spectral_function_tools.to_mps_geometry(lat, a)[source]

Bring measurement in lattice geometry to mps geometry.

This assumes that the array a has shape (…, Lx, Ly, Lu), or if Lu = 1, (…, Lx, Ly)