The measurement of the linearity using the standard HARPS linearity
test is very bad.
This is true for both chips and in both readout modes.
The plot below should be compared with analogous plots for other
instruments, where
the linearity is generally well below +-1%.
It could be speculated that the LED thtat it is used to perform the
test is not linear, which is most
likely the case, but certainly not at the 10% level or worse !
The plot below represents the number of ADC counts per second as a
function of exposure time.
Ideally this plot should be flat. Deviation from flatness represent the
non-linearity we want to measure.
However we want to measure the general trend of the linearity curve,
without taking into account
highly deviant points that almost certainly reflect a misbehaviour of
the LEDs.
We should therefore devise a method to de-select highly deviant points
(like points # 3, 7 and 8 in the plot above)
from the linearity computation.
The script: ccdtestt.prg, which according to my understanding is the
one which computes the linearity,
tries to use a criteria to "purify" the data set:
crit =
"ABS({col9}-{el_adc}).LT.{enoise1}"
This might not be enough. We might consider to cut points with large
residuals from a smooth fit to the
Counts/s vs. Exp. time relation for example.