def test_mjcell(self): sq_ingap = SQCell(eg=1.9, cell_T=293) sq_gaas = SQCell(eg=1.42, cell_T=293) dj_cell = MJCell([sq_ingap, sq_gaas]) dj_cell.set_input_spectrum(self.input_ill) print("2J eta:%s" % dj_cell.get_eta())
def test_3jcell(self): sq_ingap = SQCell(eg=1.9, cell_T=293) sq_gaas = SQCell(eg=1.42, cell_T=293) sq_ge = SQCell(eg=0.67, cell_T=293) tj_cell = MJCell([sq_ingap, sq_gaas, sq_ge]) tj_cell.set_input_spectrum(self.input_ill) print("3J eta: %s" % tj_cell.get_eta())