Skip to main content

a tool for using surfaces to explore volumetric data in napari

Project description

surforama

a napari-based tool for using surfaces to explore volumetric data in napari

inspired by membranorama

Screenshot of surforama showing a surface in the slice of a tomogram

installation

surforama requires the napari viewer. If you would like to install napari and surforama together in one line, you can use the following command:

pip install "surforama[napari]"

If you already have napari installed, you can directly install surforama in the same environment:

pip install surforama

usage

launch with demo data

If you'd like to test surforama out, you can launch surforama with demo data:

surforama --demo

launch without data

You can launch surforama using the command line interface. After you have installed surforama, you can launch it with the following command in your terminal:

surforama

After surforama launches, you can load your image and mesh into napari and get surfing!

launch with data

If you have an MRC-formatted tomogram and an obj-formatted mesh, you can launch using the following command:

surforama --image-path /path/to/image.mrc --mesh-path /path/to/mesh.obj

developer installation

If you would like to make changes to the surforama source code, you can install surformama with the developer tools as follows:

cd /path/to/your/surforama/source/code/folder
pip install -e ".[dev]"

We use pre-commit to keep the code tidy. Install the pre-commit hooks to activate the checks:

pre-commit install

Project details


Download files

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

Source Distribution

surforama-0.0.4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

surforama-0.0.4-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file surforama-0.0.4.tar.gz.

File metadata

  • Download URL: surforama-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for surforama-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2cbc951d79b0e2b4ff900df408edf748a81baac1c687b049750b5b84ca1e2f9a
MD5 55da3dabc037fe4a406c441484576df3
BLAKE2b-256 5bef839fa357aeb14d92a4e5a09baa5ed7da696561b80ad652c3f8db5f352ca5

See more details on using hashes here.

File details

Details for the file surforama-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: surforama-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for surforama-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc77eb1a7ca4c1c1f6d89775b8d406b823a27b6f03b6f29a4f550dba2adbf536
MD5 7df5a75f66226612a0e39d2e822729e7
BLAKE2b-256 5bc39a0082980f43e9675d58022ef32e90a1b1c83f68d5e731ce829b92e92763

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page