Characterisation of a monolithic active pixel sensor for electron detection in the energy range 10–20 keV