The transfer function of a system is given by:
$$\large H(s) = \huge \frac{V_{out}(s)}{V_{in}(s)}$$
In digital domain the principle is of course the same, just replace laplace transform with z-transform and voltages with amplitudes. The transfer function, when converted to time domain, solves the impulse response of the system when conditions are met.
My question is about the prerequisites for finding the real impulse response using this method (other than LTI properties). Obviously, if a signal with a shorter length than the impulse response is used for the analysis, the real impulse response can't be solved for. However, is it enough to have a signal the length of the impulse response, regardless of what the input is? (Using dirac delta as input will of course solve the impulse, but what about other cases such as $sin(t)$?)
I can at least answer the question when it comes to fourier transform and related frequency response $H(w)$. In that scenario the signal indeed needs to be zero padded properly or we will have circular convolution. I am assuming the case is then the same for laplace transform. Thus, is it correct to say that for the $H(s)$ to yield the correct transfer function, the time signal representing the input needs to be zero padded by the length of the impulse (-1)?