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.1.1.tar.gz
(30.3 kB
view details)
Built Distribution
croparray-0.1.1-py3-none-any.whl
(29.1 kB
view details)
File details
Details for the file croparray-0.1.1.tar.gz
.
File metadata
- Download URL: croparray-0.1.1.tar.gz
- Upload date:
- Size: 30.3 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 | edb9d68cd7f19b245d32f83a83b931ed7544e62fa0c497f53dc8625d49a98f71 |
|
MD5 | b8ff94d77372bf200434b6c717ae5480 |
|
BLAKE2b-256 | 95033e84ab17fe6cb19df134e3346c713fc5a47996dbf0b9158b11d60b4a1794 |
File details
Details for the file croparray-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: croparray-0.1.1-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 | fb8b412ab11933e7145c9dbfe2e994777951c0092b9736b9e6a66924d4985ba0 |
|
MD5 | b7ba4a0fe6273349779df9250f1d65c5 |
|
BLAKE2b-256 | 72e29f33d5cc94146385f15e4a68621820f1cd5a2fec4770d741c370f9a25db6 |