I have a signal coming from a photodiode detector, the pulse is really short, so the integration time is very small, and the total power measured is very small (very close to the noise of the detector). I want to take the signal detected by photodiode (a short square pulse with variable amplitude) and stretch the duty cycle from about 1% to 50% at the same amplitude of the pulse being stretched (which changes from pulse to pulse).
Normally i would use a monostable 555 timer, but i'm not sure how to get the amplitude issue worked out.