Python module for for creating and manipulating an array of crops (or regions of interest) from images obtained using single-molecule microscopy.
Project description
croparray
Authors: Tim Stasevich and Luis Aguilera.
Description
This module is intended for creating and manipulating an array of crops (or regions of interest) that were generated from a multicolor TIF video obtained from single-molecule microscopy.
Documentation
- Documentation is accessible via croparray.readthedocs
Colab implementation
Local installation from the Github repository
-
Install anaconda.
-
Clone the Github repository
git clone https://github.com/Colorado-State-University-Stasevich-Lab/croparray.git
- To create a virtual environment navigate to your local repository and use:
conda create -n croparray_env python=3.8 -y
source activate croparray_env
- To install the rest of requirements use:
pip install -r requirements.txt
- To install napari use:
python -m pip install "napari[all]"
Local installation using PIP
- To create a virtual environment using:
conda create -n croparray_env python=3.8 -y
source activate croparray_env
- Open the terminal and use pip for the installation:
pip install croparray
- To install napari use:
python -m pip install "napari[all]"
Deactivating and removing the environment
- To deactivate or remove the environment from your computer use:
conda deactivate
- To remove the environment use:
conda env remove -n croparray_env
- To unistall croparray use
pip uninstall croparray
additional troubleshooting information
- If you cannot see the package installed on your computer, try using
pip3
. For example:
pip3 install croparray
Installing from yml env
- To creating an environment file (yml) use:
source activate croparray_env
conda env export > croparray_env.yml
- ToCreate an environment from this yml file.
conda env create -f croparray_env.yml
Usage
- Organizes crops and measurements of spots of interest from tif images in a convenient x-array format for reduced filesize and more open and reproducible analyses.
- Visualizes crops of detected spots from super-resolution microscope images.
- Calculates the best maximum projection for each crop containing a detected spot.
- Measures intensity of detected spots within crops.
- Calculates the correlation between two equal-length, 1D signals.
- Saves the crop array as a netcdf file at output_direction/output_filename.
- Integrates with Napari for fast and convenient review of crops of detected spots.
Licenses for dependencies
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
croparray-0.0.9.tar.gz
(30.4 kB
view details)
Built Distribution
croparray-0.0.9-py3-none-any.whl
(29.1 kB
view details)
File details
Details for the file croparray-0.0.9.tar.gz
.
File metadata
- Download URL: croparray-0.0.9.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55ae0a8da3e3a9005c0497e7478fe6b36541f35302585f5fe37cf22d321c208 |
|
MD5 | ed3cd21dcd6dfeb1c52bbce44718ec7a |
|
BLAKE2b-256 | 0a7afad279a5520f396f20542532cee45fa86abe75b177a4880946a2319df869 |
File details
Details for the file croparray-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: croparray-0.0.9-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a39f703fd82d15984944af32391e8b34dabef2d86090bbb37f5c65a1376b66 |
|
MD5 | 9a92e457c47ad820a271e295f6a85a99 |
|
BLAKE2b-256 | f42d4c00733f36b76c319be89e82acf3a977d2fbd7639efbbda31b54c1cdb210 |