Python package to decode Amira 3D coordinate spatial graphs into semantic label mask
Project description
Semantic Label Creator [slcpy]
Python package to decode Amira 3D coordinate spatial graphs into semantic label mask.
Documentation: https://semantic-label-creator.readthedocs.io/en/latest/
Features
Load Amira spatial graph to transform 3D coordinates into semantic label mask
Installation
Stable release
To install Semantic_Label_Creator, run this command in your terminal:
$ pip install slcpy
This is the preferred method to install Semantic_Label_Creator, as it will always install the most recent stable release.
From sources
The sources for Semantic_Label_Creator can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/RRobert92/Semantic_Label_Creator
Once you have a copy of the source, you can install it with:
$ python setup.py install
Usage
To use Semantic_Label_Creator in a project:
from slcpy.main import slcpy label_mask = slcpy(dir_path, pixel_size=None, circle_size=250)
or with terminal:
slcpy -dir -o -px -d string [-dir] directory of the folder that contain data. [-default] os.getcwd() + r'\data' string [-o] output directory to the folder where all of converted filed are stored. [-default] os.getcwd() + r'\data' + r'\output' int [-px] anisotropic images pixel size in Angstrom. [-default] None int [-d] diameter in Angstrom of a circle that would be drawn a semantic mask [-default] 250
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for slcpy-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb95b9e5a43e67af520fb185d3b0d151b0856ee3c73ce934b2d5dd977338220 |
|
MD5 | 6a42491686a2b66ffce12b817149e019 |
|
BLAKE2b-256 | d0a799e3bb8fa0f9a9a9e49da63c180e5f7590409ab86bec9f4ca85e8115667f |