Sovereign 8s.is mirror of standardgalactic/Thalamus
  • C++ 44%
  • Python 36.4%
  • C# 13.3%
  • CMake 2.8%
  • C 2.3%
  • Other 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-23 02:07:58 +00:00
.github/workflows Remove C++ from MotioNCaptureNode::Segement 2026-02-24 16:26:56 -05:00
cmake Change hdf5 download to github 2026-02-17 22:07:21 -05:00
docker Update dockerfiles 2024-10-21 23:13:51 +00:00
docs Add quickstart to docs 2026-02-18 18:33:46 -05:00
dotnet Replaced Connected checkbox with button to trigger connection 2025-10-09 14:46:35 -04:00
java Create Java+Matlab client and experimental Go image client 2024-10-13 18:24:17 -04:00
js Update upload-artifact.js 2024-10-21 16:45:49 -04:00
octave read analog and motion capture from thalamus capture into matlab 2024-07-22 20:14:34 -04:00
patches fix grpc errors in windows build and specify clang-win in Boost bootstrap 2026-02-16 21:41:13 -05:00
proto Add frequency node and add File message to thalamus.proto 2025-12-17 18:38:25 -05:00
SimpleUseCase Add files via upload 2025-08-05 18:02:35 -04:00
src replace qi::ulong_long with qi::uint_parser 2026-03-10 21:46:45 -04:00
test Add quickstart to documentation and main function to thalamus.dataframe 2026-02-18 18:28:44 -05:00
thalamus Add cflags 2026-03-10 10:49:02 -04:00
.gitignore Merge branch 'ceci_stim2' of https://github.com/cajigaslab/Thalamus into devel 2025-10-13 17:08:44 -04:00
a_to_lib.cmake Add Thalamus Code 2024-06-27 17:16:33 -04:00
build_boost.sh Fix linux compilation errors 2025-01-28 13:25:03 -05:00
build_boost_clang.bat Add Thalamus Code 2024-06-27 17:16:33 -04:00
build_boost_msvc.bat Embed ffmpeg, ffprobe, and ffplay in native.exe add wave widget, implement avatar task, support video files in FfmpegNode, add min and max to lua node 2024-07-09 15:08:35 -04:00
bump.py Add poetry 2025-09-06 22:01:35 -04:00
cicd.bash Add Thalamus Code 2024-06-27 17:16:33 -04:00
cicd.bat Add Thalamus Code 2024-06-27 17:16:33 -04:00
CMakeLists.txt Working analog node plugin 2026-02-25 12:07:13 -05:00
config_ffmpeg_clang.bash Add Thalamus Code 2024-06-27 17:16:33 -04:00
config_ffmpeg_msvc.bash Pass linker flags to ffmpeg, use non JIT lua when using sanitizer, replace I/O tracing in spikeglx, trace spectrogram, add polling interval to spikeglx 2025-01-17 18:44:50 -05:00
ext.cpp Working analog node plugin 2026-02-25 12:07:13 -05:00
ext.py Add task extension 2026-03-09 10:38:53 -04:00
generate_zlib_pc.cmake Add Thalamus Code 2024-06-27 17:16:33 -04:00
get_ffmpeg_args.cmake Update get_ffmpeg_args.cmake 2024-07-15 17:20:15 -04:00
Jenkinsfile Add Thalamus Code 2024-06-27 17:16:33 -04:00
LICENSE Update build backend to generate .whl files for pypi.org and add LICENSE 2026-02-20 14:31:40 -05:00
m_stub.cpp Add m_stub.cpp 2025-04-07 15:45:06 -04:00
make_combined.sh Add Thalamus Code 2024-06-27 17:16:33 -04:00
make_ffmpeg.bash Add Thalamus Code 2024-06-27 17:16:33 -04:00
prepare.py Merge branch 'devel' of github.com:cajigaslab/Thalamus into devel 2026-02-17 15:41:44 -05:00
pyproject.toml [skip ci] v0.3.48 2026-03-23 02:07:58 +00:00
README.md Update README.md 2025-08-05 15:33:21 -04:00
Rec_Stim.cpp Add Rec_Stim 2025-10-02 14:57:16 -04:00
requirements-ci.txt Update requirements-ci.txt 2025-07-31 16:10:25 -04:00
requirements-ubuntu-18.04.txt Delete QT_QPA_PLATFORM_PLUGIN_PATH so QT and OpenCV work together 2024-10-02 17:03:38 -04:00
requirements.txt Fix CoCondition error in release build possibly related to this, https://github.com/llvm/llvm-project/issues/105595. Add clang to prepare.py. Default to clang on windows, fix missing debug info in clang release build 2025-02-08 17:09:31 -05:00
stim_test.py Commit output tasks, setup tasks in thread pool, and fix bugs 2025-10-13 11:37:47 -04:00
thalamus_config.h.in Make cairo optional and default to disabled, disable x86asm on mac, handle vc16 in opencv, prepare.py uses registry Path value instead of environments, prepare.py manually installs pkg-config on windows, fix more pyqt6 references 2024-08-04 01:39:07 -04:00

Thalamus

Thalamus is an open-source Python program designed for real-time, synchronized, closed-loop multimodal data capture, specifically tailored to meet the stringent demands of neurosurgical environments.

Overview

Thalamus facilitates the advancement of clinical applications of Brain-Computer Interface (BCI) technology by integrating behavioral and electrophysiological data streams. Thalamus prioritizes the following design requirements:

  1. Requires minimal setup within an operating room, clinical and research environment and could be easily controlled and quickly modified by the experimenter​
  2. Operated with high reliability with few crashes​
  3. Fail-safe architecture that guarantees minimal data loss in the setting of a crash​
  4. Allows for real-time computation to support visualizations of research and clinical data streams​
  5. Closed-loop control based on research and/or clinical data streams​
  6. Acquires synchronous data from the available research and clinical sensors including relevant behavioral, physiologic, and neural sensors that could easily be scaled over time​
  7. Supports a high-bandwidth, low latency, parallel distributed architecture for modular acquisition and computation that could easily be upgraded as technology continues to advance​
  8. Open-source with source code available to support research use​
  9. Embodies best practice in software engineering using unit tests and validation checks​
  10. Supports advances in translational applications and, hence, also operates in research domains​

System Requirements

Hardware Requirements

Thalamus requires only a standard computer with enough RAM to support the in-memory operations. External hardware devices for data aquisition are dependent on the goals of individual projects.

Software Requirements

Thalamus requires Python.

OS Requirements

We provide auto builds for Linux (glibc 2.35) and Windows (10).

Python Dependencies

requirements.txt includes required dependencies if installing from Github. However, all dependencies have been packaged into the auto builds.

Installation Guide

Install from Build

Download appropriate (Windows or Linux) build directly from actions tab or under Releases.

For Windows:

python -m pip install thalamus-0.3.0-py3-none-win_amd64.whl

For Linux:

python -m pip install thalamus-0.3.0-py3-none-manylunux_2_27.whl

You should now be able to run any of the Thalamus tools

python -m thalamus.pipeline # Data pipeline, no task controller

python -m thalamus.task_controller # Data pipeline and task controller

python -m thalamus.hydrate # Convert capture files to sharable formats

Approximately 1 hour set-up time

Documentaton

The code respository for Thalamus is hosted on GitHub at https://github.com/cajigaslab/thalamus. For detailed documentation of Thalamus visit https://cajigaslab.github.io/Thalamus/. For additional examples and generation of figures in our paper, refer to the SimpleUseCase folder in the repo.

License

If you use Thalamus in your work, please remember to cite the repository in any publications.

Issues

Like all open-source projects, Thalamus will benefit from your involvement, suggestions and contributions. This platform is intended as a repository for extensions to the program based on your code contributions as well as for flagging and tracking open issues. Please use the Issues tab as fit.