Git Product home page Git Product logo

babelbrain's Introduction

BabelBrain v0.2.5

Samuel Pichardo, Ph.D
Associate Professor
Radiology and Clinical Neurosciences, Hotchkiss Brain Institute
Cumming School of Medicine,
University of Calgary
[email protected]
www.neurofus.ca

GUI application for the modeling of transcranial ultrasound for neuromodulation applications BabelBrain is a frontend application specially designed to work in tandem with neuronavigation software to perform focused ultrasound research. BabelBrain uses BabelViscoFDTD extensively for calculations. BabelViscoFDTD is optimized for multiple GPU backends (Metal, OpenCL and CUDA). In its initial inception, BabelViscoFDTD is focused on MacOS systems based on Apple ARM64 processors. However, BabelViscoFDTD can run on any system (Mac, Linux, Windows) that has a decent GPU from NVidia or AMD.

Disclaimer

This software is provided "as is" and it is intended exclusively for research purposes.

Standalone application

Ready-to-use applications (no need for Python installation) for MacOS are available in the Releases section. Download, open and drag "BabelBrain" into the Applications folder. The first time you use you will be prompted to authorize to run and access directories. You may also need to authorize it in the Security settings of MacOS.

Instructions for use

Please consult the online manual for details on instructions for use.

Manual Installation for Development

If you prefer to run the code in a Python environment, the requirements are roughly a clean Python 3.9-3.10 environment, a healthy XCode installation in macOS, or CUDA (up to v11.8) + Visual Studio/gcc in Windows/Linux. Consult BabelViscoFDTD for details on what is needed for the FDTD solvers

Requirements

  • Python 3.9-3.10. Anaconda/miniconda is recommende. - if running in Apple new ARM64 processors (M1, M1 Max, etc.), be sure to use a native ARM64 version. Consult BabelViscoFDTD for further details.
  • Blender
  • FSL

Be sure FSL init scripts are properly activated in your .bash_profile or .zsh_profile.

Recommended settings

macOS/Linux: Create first and activate a new environment with some basics libraries from Conda

conda create --name babel python=3.10 numpy scipy

activate babel

In Windows only, install cupy and numba from conda install -c conda-forge cupy numba

Install the rest of dependencies with either

pip install -r requirements_mac.txt or pip install -r requirements_linux.txt or pip install -r requirements_win.txt

Running

If running from the Github source code, just change to the BabelBrain directory and run

python BabelBrain.py

Building an standalone application for macOS

A Pyinstaller specification file is ready for use. To build the MacOS application, just change to the BabelBrain directory and run

pyinstaller BabelBrain.spec

A new application ready to use will be created at BabelBrain/BabelBrain/dist/Babelbrain.app

babelbrain's People

Contributors

spichardo avatar shirsks14 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.