New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readout hysteresis on z8-D triggering rejection of that quarter of CCD #1619
Comments
Finally, the last CCD where I see examples of OSTEP > 5 ADU in some science exposures is Z5-A. Example image is desi/spectro/data/20220109/00117641/desi-00117641.fits.fz[Z5], caused by a bright CR at (1989,618). |
Adding another Z8 exposure to look at: tile 25275, night 20220126, expid 120334. It has OSTEP=5.4 ADU, discards half the CCD, discards all but 1 standard, then the whole petal gets rejected. But I don't see any features in the overscan region that would have triggered the large OSTEP, so this is a mystery. |
It is the same situation as for r8, a cosmic ray on the edge of the D amplifier causes a negative trail in the overscan region (x=2200 y=2200 (not a typo)) in |
It's a very small effect ~10^-4 but sufficient to cause trouble for cosmic rays that leave traces with ~50000 electrons/pixel. The software fix exists, it just has to be calibrated for this CCD amp. |
@djschlegel , for z8 , I can fit a (very small) correction on the recent data, and I expect it applies to all data, because I have found the dark trails to be stable for other CCDs, but you mention above a starting date of 2020-11-13. do you confirm the effect is not present in earlier data? |
The z8-D CTE does indeed extend before 2020-11-13, there's just very little data from before then (this was the start of SV1). |
Thanks. I have made changes to the code and updated the calib of r8,z8,z3 to correct the dark trails in the overscan region. |
Fixed in PR #1636 + desi_spectro_calib updates. |
Re-opening for tile 4402 on 2022-02-05 expid 121487 which rejects fibers 4250-4499 due to a cosmic appearing at location (2197,3718) of the r8 CCD. This has OSTEPD=5.7 in the frame file and sets a mask value of 512. Was this exposure reduced with the fix described in issue #1636 ? |
@julienguy , is it useful to have more of these? |
Reopening this issue since @julienguy was surprised during the telecon yesterday. |
PR #1748 fixes all cases described above since the issue was reopened. It's not perfect, because it is still a "recipe" to flag impactful cosmics, with several thresholds tuned to trigger on the above cases while minimizing the false positives. But hopefully this is sufficient of lower the rate of occurrence of masking entire amplifiers because of cosmics.
|
Closing since all known cases are fixed, but please re-reopen if it occurs again and we'll iteratively tune parameters for the new cases. |
Continuing to record cases here: |
New case from 20220516, BRIGHT exposure 135121, tile 22350: |
At first, I thought there was a trap on z8-D that caused a large OSTEP value (bias jump) in the bias region on exposure 19664 on 2022-01-21. First attachment below shows the raw image in the vicinity of a CR at (2194,3637).
Upon inspection of more exposures, I'd conjecture this is a mild readout hysteresis problem on that amplifier that started around 2020-11-13. The charge is depressed after reading out lots of charge. Bias images look normal. Arc images always show approx -5 ADU after reading bright arc lines. Science images can show that depression after reading bright sky lines. The first example above shows this depression after a bright CR next to the overscan region.
Second attachment below shows the max bias jump in the overscan region for z8-D for bias images (white), arc images (red), and science images (blue).
The text was updated successfully, but these errors were encountered: