Skip to content

Align Brainwave types #123

@andrewjaykeller

Description

@andrewjaykeller

Updates the brainwave type definitions to match the actual API spec as documented in https://docs.neurosity.co/docs/api/brainwaves.

Changes:

  • Adds channelNames and notchFrequency to BrainwaveInfo interface
  • Updates Epoch, PSD, and PowerByBand interfaces to use the complete BrainwaveInfo type

update to:

export interface Epoch {
  data: AmplitudeByChannel;
  info: BrainwaveInfo;
}

export interface PSD {
  psd: PSDByChannel;
  freqs: number[];
  info: BrainwaveInfo;
}

export interface PowerByBand {
  gamma: number[];
  beta: number[];
  alpha: number[];
  theta: number[];
  delta: number[];
  info: BrainwaveInfo;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions