But can't you simply look up what's in self._epoch_queue after having sent data and compare it to the corresponding raw buffer segments from raw?
If this is fine, I'd expect the rest to work as well.

On 12.07.2013, at 01:47, mainakjas <notifications@github.com> wrote:

> In mne/realtime/tests/test_mockclient.py:
> 
> > +picks = mne.fiff.pick_types(raw.info, meg='grad', eeg=False, eog=True,
> > +                                stim=True, exclude=raw.info['bads'])
> > +
> > +#def test_mockclient():
> > +
> > +rt_client = MockRtClient(raw)
> > +rt_epochs = RtEpochs(rt_client, event_id, tmin, tmax, n_epochs,
> > +                     consume_epochs=False, picks=picks)
> > +
> > +rt_epochs.start()
> > +rt_client.send_data(rt_epochs, tmin=0, tmax=2, buffer_size=1000)
> > +
> > +for ev in rt_epochs.iter_evoked():
> > +    x_mock = ev.data[None, ...]
> > +
> > +print "hi"
> That's what I was trying to do with this file (see the commented out parts), but seems like I'll have to rethink how to do it.
> 
> —
> Reply to this email directly or view it on GitHub.