def terminate(self, ntwk): ''' terminate a measured network with the switch terms ''' return terminate(ntwk,self.gamma_f, self.gamma_r)
def measure(self,ntwk): m = ntwk.copy() return terminate(m, self.gamma_f, self.gamma_r)