Script for ELNES/EELS calculation

Here is a script to automatically calculate Core level spectra with CASTEP taking into account a core-hole effects. It is currently setup for ZrO2 which can be found in MatStudio structures database.