Test step response instead of impulse response
@@ -139,10 +139,10 @@ class NetworkTestCase(unittest.TestCase):
def test_time_transform_squeeze(self):
dut_dc = self.ntwk1.extrapolate_to_dc()
- assert dut_dc.s11.impulse_response()[1].ndim == 1
- assert dut_dc.s11.impulse_response(squeeze=False)[1].ndim == 3
- assert dut_dc.impulse_response()[1].ndim == 3
- assert dut_dc.impulse_response(squeeze=False)[1].ndim == 3
+ assert dut_dc.s11.step_response()[1].ndim == 1
+ assert dut_dc.s11.step_response(squeeze=False)[1].ndim == 3
+ assert dut_dc.step_response()[1].ndim == 3
+ assert dut_dc.step_response(squeeze=False)[1].ndim == 3
def test_constructor_empty(self):
rf.Network()
