def add_theory_cells(self): theory_cells = Cell('TheoryCells') theory_cells.add(make_theory_cell(wafer_orient='100'), origin=(70, 0)) # theory_cells.add(make_theory_cell_3br(), origin=(0, 0)) # theory_cells.add(make_theory_cell_4br(), origin=(400, 0)) theory_cells.add(make_theory_cell(wafer_orient='100'), origin=(20, -400), rotation=45) # theory_cells.add(make_theory_cell_3br(), origin=(-50, -400), rotation=45) # theory_cells.add(make_theory_cell_4br(), origin=(370, -400), rotation=45) center_x, center_y = (5000, 5000) for block in self.blocks: block.add(theory_cells, origin=(center_x, center_y - 1700))
def add_theory_cell(self): theory_cell = make_theory_cell() for x, y in self.upCenters: self.add(theory_cell, origin=(x, y - 1500)) for x, y in self.downCenters: self.add(theory_cell, origin=(x, y + 1500), rotation=180)
def add_theory_cell(self): theory_cells = Cell('TheoryCells') theory_cells.add(make_theory_cell(), origin=(-200, 0)) theory_cells.add(make_theory_cell_br(), origin=(200, 0)) self.block_up.add(theory_cells, origin=(0, 1300)) self.block_down.add(theory_cells, origin=(0, -1300))
def add_theory_cells(self): theory_cells = Cell('TheoryCells') theory_cells.add(make_theory_cell(wafer_orient='100'), origin=(-400, 0)) theory_cells.add(make_theory_cell_3br(), origin=(0, 0)) theory_cells.add(make_theory_cell_4br(), origin=(400, 0)) center_x, center_y = (5000, 5000) for block in self.blocks: block.add(theory_cells, origin=(center_x, center_y - 2000))
def add_theory_cell(self): theory_cells = Cell('TheoryCells') theory_cells.add(make_theory_cell(), origin=(-400, 0)) theory_cells.add(make_theory_cell_3br(), origin=(0, 0)) theory_cells.add(make_theory_cell_4br(), origin=(400, 0)) # Add it in all the cells for (i, pt) in enumerate(self.block_pts): origin = (pt + np.array([0.5, 0.5])) * self.block_size origin += np.array([0, -2000]) self.add(theory_cells, origin=origin)
def add_theory_cell(self): theory_cells = Cell('TheoryCells') theory_cells.add(make_theory_cell(), origin=(-200, 0)) theory_cells.add(make_theory_cell_br(), origin=(200, 0)) for x, y in self.upCenters: self.add(theory_cells, origin=(x, y + 1300)) for x, y in self.downCenters: self.add(theory_cells, origin=( x, y - 1300 )) # Don't rotate because of directionality of branched membranes