Skip to main content

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.9.0 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.9.0.

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.9.0 release:

  • Windows 64-bit: download DriftlessMap-2.9.0-Windows-x64.zip, extract the complete folder, and double-click DriftlessMap.exe. Do not move the executable out of its extracted folder.
  • macOS (Apple Silicon): download DriftlessMap-2.9.0-macOS-arm64.dmg, open it, and drag DriftlessMap.app to 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:

  1. Click Done; do not move the application to the Trash.
  2. Drag DriftlessMap.app from the DMG into Applications.
  3. In Finder, Control-click DriftlessMap.app, choose Open, and confirm Open if macOS offers that option.
  4. If the same warning remains, open System Settings, select Privacy & Security, scroll to Security, and click Open Anyway beside the DriftlessMap message.
  5. 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.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for driftlessmap 2.9.0
File Size Uploaded Provenance Actions
driftlessmap-2.9.0.tar.gz 4.4 MB With provenance Details for driftlessmap-2.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for driftlessmap 2.9.0
File Interpreter ABI Platform Actions
driftlessmap-2.9.0-py3-none-any.whl Python 3 none any Details for driftlessmap-2.9.0-py3-none-any.whl

Total release size: 8.6 MB

Release files / driftlessmap-2.9.0.tar.gz

Download URL driftlessmap-2.9.0.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
6aa2f17a1881010586bc9847e224914363b1a5dbe2690bf4b1c59c3d3eb65d8b
BLAKE2b-256 checksum
How to use checksums
b19eee252b698c9bb43be45ffad9e302681008b5990529c6695b76724ab433b7
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 log

Release files / driftlessmap-2.9.0-py3-none-any.whl

Download URL driftlessmap-2.9.0-py3-none-any.whl
Size 4.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
465667feaefecd888b07ddc775a24a546ae6bb5b403b7150e6fb0de5eda6e2dd
BLAKE2b-256 checksum
How to use checksums
3e1afe886672cc9791040652645331b56e722c446abf6110062765fd1e0bea70
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 log

Security for driftlessmap 2.9.0

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.

Select from 2 files

Attestation for driftlessmap-2.9.0.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page