The invention relates to a method for testing
linearity of an astronomical imaging
detector after
irradiation. A device involved in the method is composed of an electrostatic
test platform, an
integrating sphere light source, a three-dimensional sample adjusting table, a sample
test board, an astronomical imaging
detector sample, a direct-current power supply and a computer. The method comprises the following steps: carrying out an astronomical imaging
detector proton irradiation damage test, extracting gray values of single pixels of collected background images and
light field images with different
exposure times, calculating a gray average value of the
light field images without the background, finding out a full well
signal value, and taking the
exposure time as a
horizontal axis to obtain a full well
signal value; the method comprises the following steps of: taking the
exposure time and the
light field gray average as a
vertical axis, taking the partial light field image gray average as a
vertical axis, carrying out least square fitting on
linearity data, extracting the
linear region slope and intercept of a fitting curve, carrying out
linearity calculation on each group of exposure time and the light field gray average, and then solving the average value of all groups of linearity data, namely the linearity of the astronomical imaging detector. The method is suitable for various astronomical imaging detectors and has the advantages of being convenient to test, small in error, high in speed, high in practicability and the like.