This library allows users to elegantly download the necessary dependencies for BrainFlow automatically, making it easy to work with EEG, EMG, ECG and other biosignal acquisition devices from Clojure.
This program will scan the computer to see if there are any missing required dependencies or subdependencies that are necessary to run BrainFlow, install them, and install BrainFlow. It is designed to work on Windows, Mac, and Linux but as of 5/28 has only been tested on Windows.
If the user does not have the required underlying C++ runtimes, it will prompt the user to respond 'y' or 'no' to downloading the dependencies.
The program can be run either at the repl using test-brainflow at the bottom of the namespace (or technically by running ensure-brainflow-loaded! on its own), or by running the main function at the command line via:
clj -M:dev core.clj
BrainFlow is a library intended to obtain, parse and analyze EEG, EMG, ECG and other kinds of data from biosignal acquisition devices. It supports many popular devices including:
:dev {:jvm-opts ["--add-opens=java.base/java.net=ALL-UNNAMED"]}
This library will download approximately 100MB of data including:
Files are cached locally in ~/.brainflow-java/
to avoid re-downloading.
Add the following to your deps.edn
:
brainflow-java/brainflow-java {:mvn/version "1.0.007"}
Lorelai Lyons 2025
Can you improve this documentation? These fine people already did:
Lor & Lorelai LyonsEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close