Table of Contents

Class CustomPulseTrain

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Represents an operator that creates a sequence of custom pulse trains.

public class CustomPulseTrain : Combinator<PulseOnset[]>
Inheritance
CustomPulseTrain
Inherited Members

Properties

PulseTrain

Gets the collection of pulse train onset times and voltages specifying the custom pulse train.

public Collection<PulseOnset> PulseTrain { get; }

Property Value

Collection<PulseOnset>

Methods

Process()

Creates an observable sequence containing a single custom pulse train.

public IObservable<PulseOnset[]> Process()

Returns

IObservable<PulseOnset[]>

A sequence containing a single array of pulse onset times and voltages representing the custom pulse train.

Process<TSource>(IObservable<TSource>)

Creates an observable sequence of custom pulse trains where each train is created whenever another sequence emits a notification.

public override IObservable<PulseOnset[]> Process<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new custom pulse trains.

Returns

IObservable<PulseOnset[]>

A sequence containing arrays of pulse onset times and voltages representing the custom pulse trains.

Type Parameters

TSource

The type of the elements in the source sequence.