Skip to main content

Cell shape analysis using the spherical harmonics decomposition

Project description

FlowShape

This package provides functionality for the analysis of cell shape using the spherical harmonics decomposition. Please refer to our paper "Cell shape characterization, alignment, and comparison using FlowShape" for more information.

A local branch of lie_learn that does not depend on cython is included (spheremesh/lie_learn).

Installation

Flow shape is available on pypi. Install via:

pip install flowshape

Demo

For the demos, you will need JupyterLab, as well as Meshplot for plotting.

To install both, run:

conda install -c conda-forge jupyterlab meshplot

Then, to open JupyterLab, run:

jupyter-lab

Download the demo folder from this repository and open the demo.ipynb notebook.

Further, demo_alignment.ipynb shows how to align meshes. demo_from_img.ipynb shows how to use marching cubes to make meshes from image stacks. There are some additional dependencies for this notebook.

How to use

See the demos for examples on how to use the package. The API consists only of functions operating on NumPy ndarrays and there are no classes. Most functions have docstrings in the source.

Citation

Bibtex:

@article{10.1093/bioinformatics/btad383,
    author = {van Bavel, Casper and Thiels, Wim and Jelier, Rob},
    title = "{Cell shape characterization, alignment, and comparison using FlowShape}",
    journal = {Bioinformatics},
    volume = {39},
    number = {6},
    pages = {btad383},
    year = {2023},
    month = {06},
    issn = {1367-4811},
    doi = {10.1093/bioinformatics/btad383},
    url = {https://doi.org/10.1093/bioinformatics/btad383},
    eprint = {https://academic.oup.com/bioinformatics/article-pdf/39/6/btad383/50738096/btad383.pdf},
}

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

flowshape-0.1.5.tar.gz (9.9 MB view details)

Uploaded Source

Built Distribution

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

flowshape-0.1.5-py3-none-any.whl (9.9 MB view details)

Uploaded Python 3

File details

Details for the file flowshape-0.1.5.tar.gz.

File metadata

  • Download URL: flowshape-0.1.5.tar.gz
  • Upload date:
  • Size: 9.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for flowshape-0.1.5.tar.gz
Algorithm Hash digest
SHA256 fd48a089b43d40dd14cbd448bc7c603d5ef74ad678d6bf99b0ad4c6819309280
MD5 0e23110edbd1c8db83260e8a2e61d17c
BLAKE2b-256 939da9cc1e8b0cc62dfce59097b938c4343ea08a3f9a5a53a3ec397c471e2dec

See more details on using hashes here.

File details

Details for the file flowshape-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: flowshape-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for flowshape-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a4de2d050ee12f1d9e42bd6926e2a49cbebbd05be9f3270b62636cb945f8b660
MD5 84cdca9c10c10e53b065c3b5c057cce8
BLAKE2b-256 4c26d4b0a723a24a4a1438be391aff926c534ae98a774f551609449932a7ec29

See more details on using hashes here.

Supported by

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