Skip to main content

CCF streamlines

This package supports projection of Allen Common Coordinate Framework (CCF) mouse brain volumetric data and coordinate data on to 2D representations. It also enables other operations that make use of the "streamlines" between the top and bottom of the isocortex in the CCF.

Running the tests

The test suite needs no data files and finishes in seconds:

uv sync
uv run pytest

It builds a miniature but structurally faithful atlas into a temporary directory and constructs the real classes from it, so contributors without access to Allen Institute storage can run the whole suite. See docs/decisions/0001-mini-ccf-fixtures.md for why.

A second, opt-in tier runs the same public interfaces against the real assets, to catch the fixtures drifting from the files users actually download. It is skipped unless you point an environment variable at them:

CCF_STREAMLINES_TEST_DATA=/path/to/assets uv run pytest -m real_data

Tests marked xfail are pinned to a known open bug or an open pull request. They assert the correct behaviour, so the suite stays green while the bug exists and reports an unexpected pass the moment it is fixed - which is the signal to remove the marker.

Level of support

This code is an important part of the internal Allen Institute code base and we are actively using and maintaining it. Issues are encouraged, but because this tool is so central to our mission pull requests might not be accepted if they conflict with our existing plans.

Download files

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

Source Distribution

ccf_streamlines-1.2.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

ccf_streamlines-1.2.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file ccf_streamlines-1.2.0.tar.gz.

File metadata

  • Download URL: ccf_streamlines-1.2.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ccf_streamlines-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d5df5c6b21a1ce3d449cc2a9d7eedf0277c50f1ac541fb9aacaa6bd3b7dc54b2
MD5 42f0873598cf8722e8d617210a1003ab
BLAKE2b-256 444dfd92d69124ee1378a1c97d2c10eaeec02b1f3227903d855395b50d9b1542

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccf_streamlines-1.2.0.tar.gz:

Publisher: python-publish.yml on AllenInstitute/ccf_streamlines

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

File details

Details for the file ccf_streamlines-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ccf_streamlines-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ccf_streamlines-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 234957de17917b144daba2eb1ae7a18a735f841fa3b18d2c15385f30403a2bce
MD5 0a308cb3fe5e63ddd06abc24dd8e7dab
BLAKE2b-256 9481330e32cb5fd90ae7f9488efb579976b22f73cd35dda555c6d5927fe98570

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccf_streamlines-1.2.0-py3-none-any.whl:

Publisher: python-publish.yml on AllenInstitute/ccf_streamlines

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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

1.1.4

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

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