本文整理匯總了Python中ahkab.testing.NetlistTest.test方法的典型用法代碼示例。如果您正苦於以下問題:Python NetlistTest.test方法的具體用法?Python NetlistTest.test怎麽用?Python NetlistTest.test使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ahkab.testing.NetlistTest
的用法示例。
在下文中一共展示了NetlistTest.test方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('diodecw8', ea=1e-1, er=1e-3,
sim_opts=myoptions())
nt.setUp()
nt.test()
if __name__ != '__main__':
nt.tearDown()
示例2: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('symbro')
nt.setUp()
nt.test()
nt.tearDown()
示例3: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('pz1', er=1e-4, ea=1e-3)
nt.setUp()
nt.test()
nt.tearDown()
示例4: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('t1', er=1e-3, ea=1e-5)
nt.setUp()
nt.test()
nt.tearDown()
示例5: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('switch1', er=1, ea=5e-1)
nt.setUp()
nt.test()
nt.tearDown()
示例6: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
from ahkab.testing import NetlistTest
from ahkab import options
options.plotting_show_plots = False
def test():
nt = NetlistTest('bfpss1', er=1e-3, ea=1e-2)
nt.setUp()
nt.test()
nt.tearDown()
test.__doc__ = "PSS BFPSS test 1"
if __name__ == '__main__':
nt = NetlistTest('bfpss1')
nt.setUp()
nt.test()
示例7: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('ring3', er=1e-1, ea=1e-2)
nt.setUp()
nt.test()
nt.tearDown()
示例8: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('tran_gear6', er=1e-3, ea=1e-2)
nt.setUp()
nt.test()
nt.tearDown()
示例9: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest("tran_gear5", er=1e-2, ea=1e-2)
nt.setUp()
nt.test()
nt.tearDown()
示例10: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('downscaling_cm', ea=1e-6, er=1e-5)
nt.setUp()
nt.test()
nt.tearDown()
示例11: test
# 需要導入模塊: from ahkab.testing import NetlistTest [as 別名]
# 或者: from ahkab.testing.NetlistTest import test [as 別名]
def test():
nt = NetlistTest('colpitts', er=1e-3, ea=5e-4, sim_opts=myoptions())
nt.setUp()
nt.test()
nt.tearDown()