Skip to main content

Create figures and images from NIfTI images, masks, and label maps.

Project description

Beautiful-Brains logo

Beautiful Brains

PyPI version License Python versions Downloads

Beautiful-Brains creates notebook-friendly NIfTI figures from intensity images, masks, and label maps.

Beautiful-Brains provides a Python toolkit for loading, smoothing, transforming, coregistering, slicing, and compositing NIfTI images in Jupyter notebooks and Python scripts. Images are read with NiBabel, processed with NumPy and SciPy, and rendered with Pillow. Registration, masking, and bias-field correction are performed with ANTsPy.

Beautiful-Brains

Beautiful-Brains was created from a collection of personal scripts. These tools saved me a lot of time making figures for presentations that are visually pleasing. I also used these features to create lightbox-style QC images for automated neuroimaging pipelines.

Installation

Install the current Beautiful-Brains release with pip:

pip install beautiful-brains

Usage

See the demonstration notebook.

AI Disclaimer

This project originated as a collection of human-coded scripts. Claude Code (Sonnet 4.6) and Codex (GPT-5.5) were used to convert a working codebase into a Python package. These AI tools restructured and rewrote nearly everything. Future development will continue using AI-assisted coding tools.

Support

Please send questions, bug reports, and feature requests to the issue tracker.

Documentation will be expanded after the project leaves alpha.

License

Beautiful-Brains is licensed under the terms of the GNU General Public License version 3. For more information, see the LICENSE file. :::

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beautiful_brains-0.0.4a0.tar.gz (126.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beautiful_brains-0.0.4a0-py3-none-any.whl (134.5 kB view details)

Uploaded Python 3

File details

Details for the file beautiful_brains-0.0.4a0.tar.gz.

File metadata

  • Download URL: beautiful_brains-0.0.4a0.tar.gz
  • Upload date:
  • Size: 126.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for beautiful_brains-0.0.4a0.tar.gz
Algorithm Hash digest
SHA256 ca344b9d8c6f5fddf6b513fed6335eccc87450a8c9bdf3b30a3ab73dce749092
MD5 d4719fe0da3d80b29c2acddafc128591
BLAKE2b-256 b33b9002a2d70eee12c33a80f504fe24b526766d5c21aa281a24d4f8dfd1b653

See more details on using hashes here.

Provenance

The following attestation bundles were made for beautiful_brains-0.0.4a0.tar.gz:

Publisher: python-publish.yml on Tj-Ward/beautiful-brains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beautiful_brains-0.0.4a0-py3-none-any.whl.

File metadata

File hashes

Hashes for beautiful_brains-0.0.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 36e0aeecd7fefcee46f09d5e1f4b41e258a9b531c01d645c61118e7371959d3e
MD5 626a34eabd471ef673b7ecc8b265ee3e
BLAKE2b-256 b75d31462403f689f2fca79b0ada249fffca81c16004c8db31f7c5085c13210a

See more details on using hashes here.

Provenance

The following attestation bundles were made for beautiful_brains-0.0.4a0-py3-none-any.whl:

Publisher: python-publish.yml on Tj-Ward/beautiful-brains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page