Automated FTIR mapping of boron distribution in diamond