Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/njmarko/neuralink-mr-sandman
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.
https://github.com/njmarko/neuralink-mr-sandman
angular drools-rule-engine expert-system neuralink rule-based-system sleep-tracker smart-watch spring-boot
Last synced: 6 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/njmarko/neuralink-mr-sandman
- Owner: njmarko
- Created: 2022-05-05T21:43:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T12:07:47.000Z (9 months ago)
- Last Synced: 2024-10-12T16:16:36.355Z (about 1 month ago)
- Topics: angular, drools-rule-engine, expert-system, neuralink, rule-based-system, sleep-tracker, smart-watch, spring-boot
- Language: Java
- Homepage:
- Size: 2.79 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
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
- [Biosignal Sensing Device Using Dynamic Selection of Electrodes](https://patents.google.com/patent/US20230225659A1/)
### Invasive
- [First Neuralink implanted in humans](https://x.com/elonmusk/status/1752098683024220632?s=20)## Application screenshots
Ilustration 2 - User info form. Chronotype and optimal sleep time are determined based on the provided user information.
Ilustration 3 - Project that generates simulated signals from the neuralink and smart-watch devices.
## References
- [Medical Neuroscience - Coursera course by Prof Leonard E. White, Ph.D. from Duke University](https://www.coursera.org/learn/medical-neuroscience)
- [Certificate earned for completing the 13-week-long Medical Neuroscience course](https://www.coursera.org/account/accomplishments/certificate/JE475HPY7A28)
- [Why we sleep - Book by Neuroscientist and sleep expert Matthew Walker](https://www.goodreads.com/book/show/34466963-why-we-sleep)
- [Lex Fridman Podcast - Mathew Walker - Sleep](https://www.youtube.com/watch?v=Hc4XvHTlW3s)
- [Dr. Matthew Walker: The Science & Practice of Perfecting Your Sleep | Huberman Lab Podcast #31](https://www.youtube.com/watch?v=gbQFSMayJxk)
- [Responses to questions from readers on Why we sleep by Mathew Walker](https://sleepdiplomat.wordpress.com/2019/12/19/why-we-sleep-responses-to-questions-from-readers/)
- [Textbook of Medical Physiology - Guyton & Hall](https://www.goodreads.com/book/show/202734.Textbook_of_Medical_Physiology)
- [Neuroscience - Book by prof Dale Purves](https://www.goodreads.com/book/show/15939503-neuroscience)