Effect of nitrogen impurity on x-ray detector based on single-crystal diamond after radiation and boron compensation | Synapse