casm.vasp.io.write_occupations

casm.vasp.io.write_occupations(filename, occupations)[source]

Write a dict of occupations out to an OCCMATRIX-like file filename : str, output filename occupations : dict of OrbitalOccupation, site occupations stored using site indices (from 0) as keys