To work perfectly, Kramers-Kronig requires a bandwidth from DC to daylight, but perfection is impossible, so you must settle for less.
The same is true in time domain reflectometry, TDR, where the incident step must be instant and the sampling rate infinite. For that you must buy a more expensive storage oscilloscope, say, with a BW of 100 GHz and a sampling rate of 240 Gss.
The advantage of time domain reflectometry, is that you do not need an IFFT or an integration, but TDR still has the bandwidth problem of Gibb's Effect, which breaks causality by appearing before the step.