Automatic Cut Detector
Project description
Cut Detector
Automatic micro-tubules cut detector.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
Conda environment
It is highly recommended to create a dedicated conda environment, by following these few steps:
-
Install an Anaconda distribution of Python. Note you might need to use an anaconda prompt if you did not add anaconda to the path.
-
Open an anaconda prompt and create a new environment with:
conda create --name cut-detector python=3.9
- Activate the newly created environment:
conda activate cut-detector
Package installation
Once in a dedicated environment, our package can be installed via pip:
pip install cut_detector
Fiji
This package relies on Trackmate to perform cell tracking. Trackmate is called through Fiji, which has to be installed independently. Please follow the steps here to install it.
GPU
We highly recommend to use GPU to speed up segmentation. To use your NVIDIA GPU, the first step is to download the dedicated driver from NVIDIA.
Next we need to remove the CPU version of torch:
pip uninstall torch
The GPU version of torch to be installed can be found here. You may choose the CUDA version supported by your GPU, and install it with conda. This package has been developed with the version 11.6, installed with this command:
conda install numpy==1.25 pytorch==1.12.1 torchvision pytorch-cuda=11.6 -c pytorch -c nvidia
Note that we have added numpy here to prevent conda from installing a version higher than 1.25, which is not supported by numba.
If the previous results in an inifinite "Solving environment", consider using mamba instead of conda.
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "cut-detector" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
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 cut_detector-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a796b2e7a5e6664fc2f827aac52f4032a343c5eb4330cf5ca0adf9987dd0fc76 |
|
MD5 | c8682eaf7b5240e5c9797e5f61289ea0 |
|
BLAKE2b-256 | 727245b61cf852ed8d779319219f1e1bd2ad17419dba9c2b481b1dac0f9a1859 |