LunaSleep, does the moon affect my sleep quality?
Correlation analysis between moon phases and my sleep quality, via the Withings API.
The project
As a data and home-automation enthusiast, I wanted to combine both to test a hypothesis my parents have always brought up: the moon affects sleep quality. It’s something I’ve been hearing forever, and rather than accepting or rejecting it without proof, I decided to check it on my own data.
The data
For months I’ve been using a Withings sleep sensor that scores my nights. Combined with moon phases, the goal was to see if there’s an observable correlation, even if obviously we should be careful because the data volume is limited.
Takeaways
The project pushed me on using Python APIs and handling time series with Pandas, which served me later on other personal analyses.
The project is ongoing. Results will be posted here when available.
Context
Personal project, driven by curiosity and self-tracking.
Tech stack
-
Python
-
Withings API
-
Pandas