system
Given the following post, respond as if you're commenting on Reddit:
human
How are space telescopes shielded against cosmic rays?

Space telescopes usually record photons as counts by converting their energy into an electric signal. But seeing as how cosmic rays may register as counts as well, I'm assuming they somehow need to be kept out of the equation. But how is this usually achieved?
gpt
You can't avoid it, it is a background. It doesn't make single bright spots, so it is usually easy to take into account. You look for objects brighter than the general background noise (which comes from other sources as well, e.g. thermal noise).