Skip to content

Expert rule based system for tracking inputs from neuralink chip and smart-watch in order to improve daily habits, measure sleep efficiency and improve sleep quality.

Notifications You must be signed in to change notification settings

njmarko/neuralink-mr-sandman

Repository files navigation

neuralink-mr-sandman

A sophisticated rule-based system designed to analyze data from a variety of tracking devices, including Neuralink chips, smartwatches, and other wearable sensors, with the objective of enhancing sleep quality.

signal-visualization

Ilustration 1 - Visualization of the signals generated by the neuralink and smart-watch devices.

Application functionalities

  • Determines chronotype based on the provided user info
  • Calculates optimal sleep time based on the provided user info and calculated chronotype
  • Monitors daily habits
    • Alcohol consumption before sleep
    • Caffeine consumption before sleep
    • Bright light exposure before sleep
    • Intense physical activity before sleep
  • Calculates daily bad habits scores
    • Based on the habit intensity and proximity to the optimal sleep time
  • Tracks brain activity
    • Determines when the user is awake
    • Determines when the user falls asleep
    • Determines sleep stages that the user is going through during the sleep
      • NREM stages 1-4
      • REM stage
    • Detect wakeup
  • Sleep efficiency calculation
  • Daily habits recommendations
  • Detection of the most common sleep disorders
    • Somnambulism detection
    • Insomnia detection
    • Narcolepsy detection

Technology

  • Spring boot application for backend
  • Drools rule-based system
    • Forward chaining
    • Complex event processing (CEP)
    • Templates
    • Queries
    • Dynamic salience
  • Two Angular frontend applications

Devices

Noninvasive

Invasive

Application screenshots

user-info

Ilustration 2 - User info form. Chronotype and optimal sleep time are determined based on the provided user information.

signal-driver-generator

Ilustration 3 - Project that generates simulated signals from the neuralink and smart-watch devices.

References

About

Expert rule based system for tracking inputs from neuralink chip and smart-watch in order to improve daily habits, measure sleep efficiency and improve sleep quality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published