testCases Package

testCases Package

holds unittest’s

testCalibration Module

class mwavepy.testCases.testCalibration.OnePortStandardCalibration(methodName='runTest')

Bases: unittest.case.TestCase

One-port calibration test.

loads data for a reciprocal embeding network, and some ideal standards. ficticous measurements are made by cascading the ideals behind teh embeding network, and a calibration is performed.

the calculated embedding network and de-embeded ideals are compared to originals as a metric of ‘working’

setUp()
test_least_squares_calibration()
test_standard_calibration()

testMedia Module

class mwavepy.testCases.testMedia.CPWTestCase(methodName='runTest')

Bases: mwavepy.testCases.testMedia.MediaTestCase

setUp()
class mwavepy.testCases.testMedia.DistributedCircuitTestCase(methodName='runTest')

Bases: mwavepy.testCases.testMedia.MediaTestCase

setUp()
class mwavepy.testCases.testMedia.FreespaceTestCase(methodName='runTest')

Bases: mwavepy.testCases.testMedia.MediaTestCase

setUp()
test_characterisitc_impedance_value()
class mwavepy.testCases.testMedia.MediaTestCase(methodName='runTest')

Bases: unittest.case.TestCase

test_capacitor()
test_characterisitc_impedance_value()
test_delay_load()
test_delay_open()
test_delay_short()
test_impedance_mismatch()
test_inductor()
test_line()
test_load()
test_match()
test_open()
test_propagation_constant()
test_short()
test_shunt_delay_load()
test_shunt_delay_open()
test_shunt_delay_short()
test_splitter()
test_tee()
test_thru()
class mwavepy.testCases.testMedia.RectangularWaveguideTestCase(methodName='runTest')

Bases: mwavepy.testCases.testMedia.MediaTestCase

setUp()

testNetwork Module

class mwavepy.testCases.testNetwork.NetworkTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Network class operation test case.

As tested by lihan in ADS the following is true:
test 3 == test1 ** test2
setUp()

this also tests the ability to read touchstone files without an error

test_cascade()
test_connect()
test_de_embed_by_inv()
test_open_saved_touchstone()
test_plot_one_port_db()
test_plot_one_port_deg()
test_plot_one_port_smith()
test_plot_two_port_db()
test_plot_two_port_deg()
test_plot_two_port_smith()

Table Of Contents

This Page