def grid(self, index): """Get Grid of a given index. Returns a rips Grid object Arguments: index (int): The grid index Returns: Grid object """ return Grid(index, self, self.channel())
def grids(self): """Get a list of all rips Grid objects in the case Returns: List of :class:`rips.grid.Grid` """ grid_list = [] for i in range(0, self.__grid_count()): grid_list.append(Grid(i, self, self.channel())) return grid_list
def grid(self, index): """Get Grid of a given index Arguments: index (int): The grid index Returns: :class:`rips.grid.Grid` """ return Grid(index, self, self.channel())
def grids(self): """Get a list of all rips Grid objects in the case""" grid_list = [] for i in range(0, self.__grid_count()): grid_list.append(Grid(i, self, self.__channel)) return grid_list