Clocktool at the moment does a great job of interpolating one time series stored in the database to another time series stored in the database. However, sometimes time points of interest may not be readily stored, for example, 1). neural responses at 50 msec after every frame flip, 2). neural response sampled at 30 Hz during a movie presentation. In those cases, it would be really convenient to expose a function, let the user define the time points of interest and sample the response/behavior traces at those given time points.
I tried to implement the function with the existing tools in the clocktool.py and posted it as a draft PR: #426