First-principles study of the inversion thermodynamics and electronic structure of FeM2 X4 (thio)spinels (M = Cr, Mn, Co, Ni; X = O, S) David Santos-Carballal,1,* Alberto Roldan,1,2 Ricardo Grau-Crespo,3 and Nora H. de Leeuw1,2,† 1Department of Chemistry, University College London, 20 Gordon Street, London WC1H 0AJ, United Kingdom 2School of Chemistry, Cardiff University, Main Building, Park Pl...