DriftlessMap
Interactive histology registration and brain-atlas mapping.
DriftlessMap is an open-source desktop application for registering histological images to reference brain atlases, reconstructing probes and other anatomical objects, and visualizing data in 2D and 3D. The name refers to Wisconsin's Driftless Area and to the project's focus on dependable spatial mapping.
Authors
DriftlessMap is developed by Mohebi & Associates, with Ali Mohebi, PhD as project lead and maintainer and Esther Lara Gonzalez, PhD as a contributor. See contributors.
If DriftlessMap contributes to published research, please cite the software version you used; see CITATION.cff.
Acknowledgements
DriftlessMap grew out of HERBS, now a legacy project, created by Jingyi Guo Fuglstad, Pearl Saldanha, Jacopo Paglia and Jonathan R. Whitlock. DriftlessMap is independently developed and not affiliated with or endorsed by the HERBS developers. The HERBS legacy note records the connection, the HERBS publication, licensing, and what is kept for compatibility with HERBS data; earlier acknowledgements are in THANKS.txt.
Features
- 2D and 3D visualization of volumetric brain atlases and arbitrary slices.
- Interactive histology-to-atlas registration with local elastic deformation.
- Automatic suggestions for the matching atlas section and starting landmarks, including brightfield sections.
- Direct multichannel microscopy input (up to 16 channels, TIFF hyperstacks, series and CZI) with registration on explicitly chosen channels.
- Probe planning, reconstruction, contact mapping, and CSV export.
- Optical fiber and microprism reconstruction (tip, bottom, laterality and regions) alongside probes.
- Drawing, cell, virus-expression, and user-defined object workflows.
- Registration review, out-of-date tracking and undo for mapped results.
- Safe, versioned project and object archives that reopen where you left off.
- Several sections per project, each with its own image, registration and marks.
- Built-in downloads of the Allen mouse atlas (CCFv3), the Waxholm Space rat atlas (v4.01) and the SWC female rat atlas in Waxholm Space (tutorial).
- Support for custom compatible atlases.
DriftlessMap 2.0
2.8.8 is the current release. It opens the
redesigned step-by-step interface by default (Project, Section, Match, Register,
Annotate, Results); the classic interface is still available with
driftlessmap --classic or from Help > Open the classic interface. See
What’s New for the full list of changes.
Projects saved by 2.0 cannot be opened by 1.6.1 or earlier, and projects saved
by 2.4, which keep every section, cannot be opened by 2.3 or earlier; 2.4 opens
all earlier DriftlessMap and HERBS projects. Keep a copy of important projects
before opening them in a newer version.
DriftlessMap 1.6.1 remains available from its
release page
and with pip install "driftlessmap==1.6.1".
Installation
DriftlessMap is available as a desktop application for end users and as a Python package for developers. The current release is 2.8.8.
Mode 1: desktop application for end users
No Python or Conda installation is required. Download the asset for your computer from GitHub Releases. From the 2.8.8 release:
- Windows 64-bit: download
DriftlessMap-2.8.8-Windows-x64.zip, extract the complete folder, and double-clickDriftlessMap.exe. Do not move the executable out of its extracted folder. - macOS (Apple Silicon): download
DriftlessMap-2.8.8-macOS-arm64.dmg, open it, and dragDriftlessMap.appto Applications. The application bundle includes the DriftlessMap icon and all Python dependencies. Intel Macs are not covered by the desktop build; use the Conda/pip installation below.
Release builds are currently unsigned. If Windows SmartScreen or macOS Gatekeeper displays a warning, verify that the file came from the official release page before bypassing the warning. Code signing and notarization are planned for a future release.
If macOS reports that Apple could not verify that DriftlessMap is free of malware:
- Click Done; do not move the application to the Trash.
- Drag
DriftlessMap.appfrom the DMG into Applications. - In Finder, Control-click
DriftlessMap.app, choose Open, and confirm Open if macOS offers that option. - If the same warning remains, open System Settings, select Privacy & Security, scroll to Security, and click Open Anyway beside the DriftlessMap message.
- Authenticate when prompted and confirm Open. This approval is normally required only for the first launch.
Only use Open Anyway for a copy downloaded from the
official DriftlessMap releases.
Each release page lists the SHA-256 digest of its downloads; compare it with
shasum -a 256 on the downloaded file.
Mode 2: Conda and pip for developers
DriftlessMap supports Python 3.10–3.14 and Qt 6 through PyQt6. Python 3.14 is recommended for core development:
conda create --name DriftlessMap python=3.14 -y
conda activate DriftlessMap
python -m pip install --upgrade pip
git clone https://github.com/mohebi-n-associates/DriftlessMap.git
cd DriftlessMap
python -m pip install -e ".[test]"
Launch the editable installation with driftlessmap or
python -m driftlessmap; both open the 2.0 interface, and --classic opens the
classic one. Library users can call driftlessmap.run().
To use a PyPI package instead of an editable checkout:
python -m pip install driftlessmap
Check your version and upgrade
Check the installed version:
python -m driftlessmap --version
Compare it against the latest stable release on PyPI:
pip index versions driftlessmap
Upgrade to the latest stable release:
python -m pip install --upgrade driftlessmap
Zeiss CZI files
CZI support uses the optional aicspylibczi package, whose prebuilt packages
currently support Python through 3.13:
conda create --name DriftlessMap-CZI python=3.13 -y
conda activate DriftlessMap-CZI
python -m pip install --upgrade pip
python -m pip install "driftlessmap[czi]"
Building the desktop applications
Native applications must be built on their target operating system. The
release workflow builds both platforms automatically; maintainers can also run
packaging/build_windows.ps1 on Windows or packaging/build_macos.sh on
macOS. Outputs are written to dist/ as a Windows ZIP and a macOS DMG.
Compatibility with HERBS
DriftlessMap opens legacy HERBS files (.herbs, .herbslayer, .herbsobj,
.herbsslice, .herbstri) and can be installed alongside HERBS; new files use
the .dmap* extensions, which HERBS cannot open. Details are in the
HERBS legacy note.
Documentation
Read the DriftlessMap User Manual for installation, atlas, registration, reconstruction, persistence, export, and troubleshooting guidance, and the tutorials for worked examples.
Do not store downloaded atlases inside the source or installed package directory. Keep each atlas in its own external folder.
See What’s New in DriftlessMap for release history and migration notes.
License
DriftlessMap is distributed under the MIT License. The original HERBS copyright and permission notice are preserved, and a separate copyright notice covers subsequent DriftlessMap modifications. See LICENSE.txt and ORIGINS.md.
Please report issues or start discussions at https://github.com/mohebi-n-associates/DriftlessMap.
Metadata
Release files for driftlessmap 2.8.8
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 |
|---|---|---|---|---|
| driftlessmap-2.8.8.tar.gz | 4.4 MB | With provenance | Details for driftlessmap-2.8.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| driftlessmap-2.8.8-py3-none-any.whl | Python 3 | none | any | Details for driftlessmap-2.8.8-py3-none-any.whl |
Total release size: 8.6 MB
Release files / driftlessmap-2.8.8.tar.gz
| Download URL | driftlessmap-2.8.8.tar.gz |
|---|---|
| Size | 4.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32fdf1a58d2b814f5d4ef205a24e4d83de88dfe2b5859ab8b67c6af1f0a631c1
|
|
BLAKE2b-256 checksum How to use checksums |
53fb80d2fef968e9dd4c4c22cd194587cdf80556885716df1fc7b834f6660019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 5, 2026.
Transparency logRelease files / driftlessmap-2.8.8-py3-none-any.whl
| Download URL | driftlessmap-2.8.8-py3-none-any.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f607f326dceef31e56edecfdd02c0a29bfc0dfe99101fc6845274d57ede771cf
|
|
BLAKE2b-256 checksum How to use checksums |
71d0da2e69b1132db74bcc98bf5e2093b1fd11130c85ac738875cee3ee5d2294
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 5, 2026.
Transparency logSecurity for driftlessmap 2.8.8
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
Both files in this release have been uploaded with provenance metadata.
Attestation for driftlessmap-2.8.8.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 Nov 5, 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.