Exemple #1
0
 def test_mom_twostep(self):
     deembedder = TwoStep(self.mom_open, self.mom_short)
     deembedded = deembedder.deembed(self.mom_embedded)
     touchstone.write(deembedded, data_dir + 'deemb_mom_deembedded_twostep',
                      'MA')
     maxerror = self.error(deembedded)
     self.assertAlmostEqual(maxerror, 0, 4)
Exemple #2
0
 def test_twostep(self):
     embedded = touchstone.read(data_dir + 'deemb_twostep.s2p')
     open = touchstone.read(data_dir + 'deemb_twostep_open.s2p')
     short = touchstone.read(data_dir + 'deemb_twostep_short.s2p')
     deembedder = TwoStep(open, short)
     deembedded = deembedder.deembed(embedded)
     touchstone.write(deembedded, data_dir + 'deemb_twostep_deembedded', 'MA')
     maxerror = self.error(deembedded)
     self.assertAlmostEqual(maxerror, 0, 4)
Exemple #3
0
 def test_twostep(self):
     embedded = touchstone.read(data_dir + 'deemb_twostep.s2p')
     open = touchstone.read(data_dir + 'deemb_twostep_open.s2p')
     short = touchstone.read(data_dir + 'deemb_twostep_short.s2p')
     deembedder = TwoStep(open, short)
     deembedded = deembedder.deembed(embedded)
     touchstone.write(deembedded, data_dir + 'deemb_twostep_deembedded',
                      'MA')
     maxerror = self.error(deembedded)
     self.assertAlmostEqual(maxerror, 0, 4)
Exemple #4
0
 def test_mom_twostep(self):
     deembedder = TwoStep(self.mom_open, self.mom_short)
     deembedded = deembedder.deembed(self.mom_embedded)
     touchstone.write(deembedded, data_dir + 'deemb_mom_deembedded_twostep', 'MA')
     maxerror = self.error(deembedded)
     self.assertAlmostEqual(maxerror, 0, 4)