Create figures and images from NIfTI images, masks, and label maps.
Project description
Beautiful Brains
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca344b9d8c6f5fddf6b513fed6335eccc87450a8c9bdf3b30a3ab73dce749092
|
|
| MD5 |
d4719fe0da3d80b29c2acddafc128591
|
|
| BLAKE2b-256 |
b33b9002a2d70eee12c33a80f504fe24b526766d5c21aa281a24d4f8dfd1b653
|
Provenance
The following attestation bundles were made for beautiful_brains-0.0.4a0.tar.gz:
Publisher:
python-publish.yml on Tj-Ward/beautiful-brains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
beautiful_brains-0.0.4a0.tar.gz -
Subject digest:
ca344b9d8c6f5fddf6b513fed6335eccc87450a8c9bdf3b30a3ab73dce749092 - Sigstore transparency entry: 1759024610
- Sigstore integration time:
-
Permalink:
Tj-Ward/beautiful-brains@0cd81a1eaddba1181bc2055460561968b501dabe -
Branch / Tag:
refs/tags/v0.0.4-alpha - Owner: https://github.com/Tj-Ward
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0cd81a1eaddba1181bc2055460561968b501dabe -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file beautiful_brains-0.0.4a0-py3-none-any.whl.
File metadata
- Download URL: beautiful_brains-0.0.4a0-py3-none-any.whl
- Upload date:
- Size: 134.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36e0aeecd7fefcee46f09d5e1f4b41e258a9b531c01d645c61118e7371959d3e
|
|
| MD5 |
626a34eabd471ef673b7ecc8b265ee3e
|
|
| BLAKE2b-256 |
b75d31462403f689f2fca79b0ada249fffca81c16004c8db31f7c5085c13210a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
beautiful_brains-0.0.4a0-py3-none-any.whl -
Subject digest:
36e0aeecd7fefcee46f09d5e1f4b41e258a9b531c01d645c61118e7371959d3e - Sigstore transparency entry: 1759024788
- Sigstore integration time:
-
Permalink:
Tj-Ward/beautiful-brains@0cd81a1eaddba1181bc2055460561968b501dabe -
Branch / Tag:
refs/tags/v0.0.4-alpha - Owner: https://github.com/Tj-Ward
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0cd81a1eaddba1181bc2055460561968b501dabe -
Trigger Event:
workflow_dispatch
-
Statement type: