The way of setting transition_range for bias_step #361
Replies: 6 comments 4 replies
-
Hi! Thanks for bringing this up, I think transition_range has always been kind of a kludge, but I never got around to improving it... I think both of your approaches sound like good options! Using the sign of dIrat definitely sounds the easiest, and that should be relatively accurate as long as your not in the upper part of the transition where loop-gain ~ 1 (but I think that's ok since we'll never get good estimates for those detectors anyway). Do you think you're able to implement and test to see if it improves this? If not we can open an issue and I'll get to it eventually... |
Beta Was this translation helpful? Give feedback.
-
I'm reanalyzing my bias step vs. vbias data, and the solution I've used in my own code is just to always have transition=True and to take the absolute value of the calculated R0. That gives the correct results in the normal branch and most of the transition. It doesn't get good resutls between about 0.8Rn and 1Rn, but transition=False doesn't work there either. So my recommendation would be to only have the in-transition calculation and just do np.abs(R0). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I think this looks great, if you post the modification as a PR I'll approve. |
Beta Was this translation helpful? Give feedback.
-
Chiming in here to comment that I've also run into this issue and have been just re-analyzing with But we really don't want "re-run the analysis" to be our method in the field so I would love to see some changes implemented before then. |
Beta Was this translation helpful? Give feedback.
-
We were also having trouble with this on the LAT. This PR implements the code Yaqiong describes above, which appears to have fixed our problems, so hopefully this is no longer an issue. |
Beta Was this translation helpful? Give feedback.
-
Hello, this is a joint post from princeton and cornell.
The transition_range config setting and kwarg in bias steps is tripping some of us up during testing. So far, the transition_range is a set of parameters set manually in the device config file. And it causes good detectors' Ites (and Pj, Rtes) to be negative when it is set too low or missing because Ites is calculated differently:
We are thinking: Instead of having a fixed range in the config file, or a default of (1,8) V, would it not make more sense to compute this range from the preceding IV curve?
Another approach is to just use the sign of dIrat as something to tell if detectors are in transition&usable, say if dIrat is positive, we could find a way to flag the detector to be bad ones.
Beta Was this translation helpful? Give feedback.
All reactions