Radiation emission associated with switching in crystalline boron