Method Process
Process(IObservable<PulseOnset[]>)
Uploads each custom pulse train in an observable sequence to the Pulse Pal device, where each pulse train is specified by an array of pulse onset times and voltages.
public override IObservable<PulseOnset[]> Process(IObservable<PulseOnset[]> source)
Parameters
source
IObservable<PulseOnset[]>A sequence of custom pulse trains, where each pulse train is specified by an array of pulse onset times and voltages.
Returns
- IObservable<PulseOnset[]>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of uploading each custom pulse train in the sequence to the Pulse Pal device.
Process(IObservable<double[,]>)
Uploads each custom pulse train in an observable sequence to the Pulse Pal device, where each pulse train is specified by a rectangular array of pulse onset times and voltages.
public IObservable<double[,]> Process(IObservable<double[,]> source)
Parameters
source
IObservable<double[,]>A sequence of custom pulse trains, where each pulse train is specified by a rectangular array of pulse onset times and voltages. The first row of the array represents the vector of pulse onset times in seconds, and the second row the corresponding vector of pulse voltages in volts.
Returns
- IObservable<double[,]>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of uploading each custom pulse train in the sequence to the Pulse Pal device.
Process(IObservable<Mat>)
Uploads each custom pulse train in an observable sequence to the Pulse Pal device, where each pulse train is specified by a matrix of pulse onset times and voltages.
public IObservable<Mat> Process(IObservable<Mat> source)
Parameters
source
IObservable<Mat>A sequence of custom pulse trains, where each pulse train is specified by a matrix of pulse onset times and voltages. The first row of the matrix represents the vector of pulse onset times in seconds, and the second row the corresponding vector of pulse voltages in volts.
Returns
- IObservable<Mat>
An observable sequence that is identical to the
source
sequence but where there is an additional side effect of uploading each custom pulse train in the sequence to the Pulse Pal device.