system (System) – System class or derived subclass. Must have Hamiltonian initialized
indices (List[int]) – List with indices of those atoms we want to transform into impurities. The indices
are referred to the order in the motif
energy (float) – On-site energy for the impurities. Defaults to 0.1.