def select_coords(self):
start, stop = self.start, self.stop<EOL>nrows = self.table.nrows<EOL>if start is None:<EOL><INDENT>start = <NUM_LIT:0><EOL><DEDENT>elif start < <NUM_LIT:0>:<EOL><INDENT>start += nrows<EOL><DEDENT>if self.stop is None:<EOL><INDENT>stop = nrows<EOL><DEDENT>elif stop < <NUM_LIT:0>:<EOL><INDENT>stop += nrows<EOL><DEDENT>if self.condition is not None:<EOL><INDENT>return self.table.table.get_where_list(self.condition.format(),<EOL>start=start, stop=stop,<EOL>sort=True)<EOL><DEDENT>elif self.coordinates is not None:<EOL><INDENT>return self.coordinates<EOL><DEDENT>return np.arange(start, stop)<EOL>
generate the selection