Disclosed herein is a radiation detector, comprising: a radiation absorption layer comprising an electrode; a capacitor module electrically connected to the electrode and comprising a capacitor, wherein the capacitor module is configured to collect charge carriers from the electrode onto the capacitor; a current sourcing module in parallel to the capacitor, the current sourcing module configured to compensate for an electrical current of a dark noise in the radiation detector and comprising a current source and a modulator; wherein the current source is configured to output a first electrical current and a second electrical current; wherein the modulator is configured to control a ratio of a duration at which the current source outputs the first electrical current to a duration at which the current source outputs the second electrical current.本文公開輻射檢測器,其包括:包括電極的輻射吸收層;電連接到所述電極並包括電容器的電容器模塊,其中所述電容模塊被配置為將來自所述電極的載荷子收集到所述電容器上;與所述電容並聯的電流源模塊,所述電流源模塊被配置為補償所述輻射檢測器中暗雜訊的電流並包括電流源和調制器;其中所述電流源被配置為輸出第一電流和第二電流;其中所述調制器被配置為控制所述電流源輸出所述第一電流的持續時間與所述電流源輸出所述第二電流的持續時間的比率。