[Ifeffit] XANES simulation