Sampling a pulse train with a controllable square wave

I have an issue regarding a sampling process of a pulse train in an image sensor based on events. Basically, these are a family of image sensors in which each pixel outputs a train of pulses, and the frequency of the pulses encodes the illumination of the pixel. The higher the frequency, the brighter the light hitting the pixel is.

Now, the frequency of these spikes trains can be studied using a gamma distribution, as seen in the image. The interspike interval of the pulses in a pixel (that is, the time between pulses) is represented in blue, whereas orange is the gamma probability function

So, we introduced a switch to decouple these pulses from reading. And here is where I get disoriented. We aim to control the switch with a signal that acts as an observation window for the pulses. The window signal is a square wave, and we want to study different values for its period and width, and whether we can reconstruct the original information. The same window signal is shared by all pixels in the matrix.

Here is my question: Is this a recognizable sampling scheme, or did we just make something up? I can't find any information on sampling a train of pulses using an observation window. If we were to determine the period of the window signal using a probability distribution, wouldn't the combined statistics (the gamma distribution from the pixel and the one from the observation window) be something like the product of both, or even the convolution?

EDIT: to be more clear, what I want to know is what type of mathematical and statistical analysis can I use to determine the probability of finding a pulse inside an observation time window for a pixel.

• Hm, are these pulses always the same duration? Because what you sound would usually be called PDM, pulse density modulation. Commented Aug 9, 2023 at 15:19
• Also, I think your window in your example is too short, and your example is the perfect illustration of why: you get 100% quantization error if your observation window is shorter than the longest relevant interspike interval. Commented Aug 9, 2023 at 15:20
• Hi! Thanks for your comment. The pixel pulses are always the same duration, yes. Actually, what the pixels implement is a pulse frequency modulation of its photogenerated current. But my struggle is with the window. As you mentioned, the example shows that I will be loosing pulses. But if I define the window correctly, then the probability of finding at least 1 pulse in a pixel will be higher in pixels with higher frequency. That is the mathematical analysis I am interesed in. Commented Aug 9, 2023 at 15:30
• So, OK, regarding "I can't find any information on sampling a train of pulses using an observation window", really look for "Pulse Density Modulation" (PDM), this is a super common format, and there's various ways of sampling it, including yours, but yours is kind of the worst approach, as you see. Commented Aug 9, 2023 at 15:33
• "That is the mathematical analysis I am interesed in." OK, that seems to be a different question than you were asking above, right? Commented Aug 9, 2023 at 15:34