XPS analysis using a simple python program