Rentgenska absorpcijska spektroskopija in teoretični izračuni spektrov