regrender
Tools for 2D mouse brain registration to the Allen Common Coordinate Framework (CCF)
A napari-based Python toolkit For registering histological brain slices to the Allen Brain Atlas, annotating cells/ROIs, reconstructing probe tracks, and rendering the results with brainrender.
Features
- Interactive slice→CCF registration (
regrender register) — pick landmark pairs in napari, estimate a homography/affine transform. - ROI annotation (
regrender roi) — label cells on raw images, project them into CCF space, and render. - Probe-track reconstruction (
regrender probe) — reconstruct electrode shanks from dye labels across serial sections. - brainrender rendering of ROIs and probes in 3D atlas space.
Demo
regrender register — match landmark pairs between the atlas plane (left) and histology (right):
regrender roi — label cells per channel, then project + render in 3D with brainrender:
regrender probe — pick dye points per shank and reconstruct the tracks in 3D:
Installation
# Option 1 — one-shot CLI install, no clone or env needed (recommended for users)
uv tool install git+https://github.com/ytsimon2004/regrender.git
# Option 2 — uv virtual environment (development)
git clone https://github.com/ytsimon2004/regrender.git && cd regrender
uv venv && source .venv/bin/activate
uv pip install -e .
# Option 3 — conda environment (development)
git clone https://github.com/ytsimon2004/regrender.git && cd regrender
conda create -n regrender python=3.12 -y && conda activate regrender
pip install -e .
See the installation docs for details.
Quick Start
# Register each slice to the CCF -> opens the registration GUI
regrender register -D <slices_dir>
# Label ROIs on raw slices -> opens the ROI GUI
regrender roi -D <slices_dir>
# Probe tracks -> opens the probe GUI
regrender probe -D <slices_dir>
See the full documentation for the complete workflow.
Contact
Yu-Ting Wei - ytsimon2004@gmail.com
Metadata
Release files for regrender 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| regrender-0.1.1.tar.gz | 2.6 MB | With provenance | Details for regrender-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| regrender-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for regrender-0.1.1-py3-none-any.whl |
Total release size: 2.6 MB
Release files / regrender-0.1.1.tar.gz
| Download URL | regrender-0.1.1.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a418efc6e9f717eb81607c9f8d76bba2d3e12350e368441401e0ea75906f9eda
|
|
BLAKE2b-256 checksum How to use checksums |
837e32bb91adac37024caed4b18a1f0d4b98ab01831637ca936d975f3ce6c3bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / regrender-0.1.1-py3-none-any.whl
| Download URL | regrender-0.1.1-py3-none-any.whl |
|---|---|
| Size | 44.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7518edc0b02c3e79463d16d6112deabbc681580f4ae450a4d060cf86f6b6e39c
|
|
BLAKE2b-256 checksum How to use checksums |
2334d7dd605bf85e9608cd30026d7e0db854fad7550599a3b8801161fd905c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logSecurity for regrender 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for regrender-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.