def interval(self, T=[<NUM_LIT:0>, <NUM_LIT:1000>]):
self.cursor.execute('<STR_LIT>' % tuple(T))<EOL>sel = self.cursor.fetchall()<EOL>return sel<EOL>
Get all spikes in a time interval T.


Parameters
----------
T : list
    Time interval.


Returns
-------
s : list
    Nested list with spike times.



See also
--------
sqlite3.connect.cursor