References
constants
summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
V FREQUENCY_BANDS: {"delta": *, "theta": *, "alpha": *, "beta": *, "gamma": *} |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
pipes/filtering
summary | ||
public |
F bandpassFilter(options: Object): Observable<Sample|Epoch> Applies a bandpass filter to EEG Data. |
|
public |
F highpassFilter(options: Object): Observable<Sample|Epoch> Applies a highpass filter to EEG Data. |
|
public |
F lowpassFilter(options: Object): Observable<Sample|Epoch> Applies a lowpass filter to EEG Data. |
|
public |
F notchFilter(options: Object): Observable<Sample|Epoch> Applies a notch filter to EEG Data. |
pipes/frequency
summary | ||
public |
F alphaPower(): Observable<Array<number>> Returns the average alpha power from a stream of PSDs |
|
public |
F averagePower(): Observable Takes a stream of PSDs and returns a sream of arrays, containing the average power in each channel |
|
public |
Returns the average beta power from a stream of PSDs |
|
public |
Takes a stream of Samples and applies a Fast Fourier Transform to return a stream of PSDs (Power Spectral Density). |
|
public |
F deltaPower(): Observable<Array<number>> Returns the average delta power from a stream of PSDs |
|
public |
Applies a Fast Fourier Transform to a stream of Epochs of EEG data and returns a stream of PSDs (Power Spectral Density). |
|
public |
F gammaPower(): Observable<Array<number>> Returns the average gamma power from a stream of PSDs |
|
public |
F powerByBand(bands: Object): Observable<Array<number>> Takes a stream of PSDs and returns the average power for each of the classic EEG bands (alpha, beta, theta, etc.). |
|
public |
Slices a stream of PSDs to a specific frequency range defined by a minimum and maximum frequency in Hz |
|
public |
F thetaPower(): Observable<Array<number>> Returns the average theta power from a stream of PSDs |
pipes/reducer
summary | ||
public |
F averageDeep(): Observable |
pipes/unit
summary | ||
public |
F voltsToMicrovolts(options: Object): Observable<Sample|Epoch> Converts a stream of EEG data (either eegObjects or Epochs) from volts to microvolts |
pipes/utility
summary | ||
public |
Annotates stream with user-defined metadata |
|
public |
F addSignalQuality(options: Object): Observable<Epoch> |
|
public |
F bufferToEpoch(options: Object): Observable<Epoch> Takes an array or RxJS buffer of EEG Samples and returns an Epoch. |
|
public |
Converts a stream of individual Samples of EEG data into a stream of Epochs of a given duration emitted at specified interval. |
|
public |
F pickChannels(options: Object): Observable |
|
public |
F removeChannels(options: Object): Observable |
utils
summary | ||
public |
F createEEG(objectPattern: {"channels": *, "samplingRate": *, "mock": *, "NaNRange": *, "sine": *, "csv": *}) |
|
public |
F createMockStream(options: {}): * |
|
public |
Get a 2D data array organized by channel from an array of Samples. |
|
public |
F isEpoch(eegObject: *) |
|
public |
F max(array: *) A collection of useful statistics functions Adapted from Daniel Hug's gist: https://gist.github.com/Daniel-Hug/7273430 |
|
public |
F mean(array: *) |
|
public |
F meanAbsoluteDeviation(array: *): * |
|
public |
F min(array: *) |
|
public |
F range(array: *) |
|
public |
F standardDeviation(array: *) |
|
public |
F sum(array: *): * |
|
public |
F variance(array: *): * |
|
public |
F
zeroPad(Array ZeroPads inputs for FFTs of non base 2 |
|
public |
V average: * |