impedance script with frequency and time domain features concluded, to
be tested...