Notion

Notion

  • Docs
  • Reference
  • GitHub
  • Need Help?

›API Guides

Overview

  • Notion JS

Get Started

  • Your First Node App
  • Your First Web App
  • Resources

Working with Notion

  • Ethics
  • Importing
  • Signal
  • Training

API Guides

  • Device Selection
  • Authentication
  • Brainwaves
  • Calm
  • Disconnect
  • Device Information
  • Device Settings
  • Device Status
  • Focus
  • Kinesis
  • Predictions
  • Signal Quality

Brainwaves

The brainwaves API is what we always wished for when it came to inventing the future: an easy way to get lossless brainwaves. Sometimes we wanted to manipulate the raw data and other times we wanted to analyze the power in each frequency bin. With brainwaves, our goal is to enable new APIs and powerful programs to be built. We expect that someone working with the brainwaves API has a bit of experience working with raw brainwave data or a strong desire to learn.

Metrics

There are four metrics:

  • raw
  • frequency
  • psd
const mind = new Notion();

mind.brainwaves().subscribe(brainwaves => {
  console.log(brainwaves);
  /* 
  {
    data: [Number, ... , Number],
    timestamp: Date,
    frequency: [
      [Number, ... , Number]
    ],
    psd: [Number, ... , Number]
  }
  */
});

Optionally, metrics can be filtered by adding their comma-separated names.

brainwaves("frequency").subscribe(brainwaves => {
  console.log(brainwaves);
  /* 
  { frequency: [
      [Number, ... , Number]
    ]
  }
  */
});

Raw

Raw data is what comes directly from the analog to digital converter. Note that you will see environmental noise in the signal which should be filtered out. As well as DC drift in the signal that will need to be filtered out for most cases. Raw data is eight channels sampled at 250 Hz, aka samples per second.

Frequency

PSD

Last updated on 12/7/2019 by AJ Keller
← AuthenticationCalm →
  • Metrics
    • Raw
    • Frequency
    • PSD
Docs
Getting StartedGuidesAPI GuidesAPI Reference
Community
Knowledge BaseProject ChatTwitter
More
BlogGitHubStar
Follow @neurosity
Copyright © 2020 Neurosity, Inc