You have learned that the number of counts in each pixel tends to rise linearly with time, due to electrons knocked free in the silicon lattice. When we take pictures of real celestial objects, we want to remove this "dark current" so that it doesn't contaminate our measurements of the brightness of stars. But how can we do that?
Consider the 1-second warm dark frames: dark1-001d.fit, dark1-002d.fit, dark1-003d.fit. We want to get rid of the thermal contribution. Maybe we can just find the mean value, and subtract that.
cp dark1-001d.fit test.fit
sub test.fit const=210where you substitute your actual measured mean value for the "210" above.
We hope to see a subtracted image which has values of exactly zero everywhere. How well did this idea work?
Okay, that wasn't so great. Maybe it would be better to work on a pixel-by-pixel basis. Let's try subtracting one image directly from another:
cp dark1-001d.fit test.fit
sub test.fit dark1-002d.fit
Is this result all zeroes? Is it better than the first attempt? Can you be quantitative?
If you look carefully, you should see at least one pixel which is way, way, way above zero. Hint: consider changing the contrast of the image like so:
tv test.fit z=0 l=200
The problem is that every now and then, a cosmic ray particle flies through the CCD detector and knocks lots of electrons loose. These events occur at random times and intervals, so you can't predict them. They are very hard to remove ...
Copyright © Michael Richmond. This work is licensed under a Creative Commons License.