Skip to main content

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.

drawing

Documentation

Colab implementation

  • Implementation in Google Colab Open In Colab
drawing

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

  • License for Napari: BSD-3-Clause License. Copyright (c) 2018, Napari. All rights reserved.

  • License for xarray: Apache License. Version 2.0, January 2004. Copyright 2014-2019, xarray Developers

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

croparray-0.1.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

croparray-0.1.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file croparray-0.1.0.tar.gz.

File metadata

  • Download URL: croparray-0.1.0.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

Hashes for croparray-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b3fce3d2d664a7fed08034bb34cbc6629fa19c90018b80379784095f5a2b4c55
MD5 5e27180c00b41bed0a421574db2fad6f
BLAKE2b-256 9d28c5130a7da0eb471279f57226542d378c1e0cd6aacc7fefc55fee2cf618a2

See more details on using hashes here.

File details

Details for the file croparray-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: croparray-0.1.0-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

Hashes for croparray-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3ab7e5b21748729dc55d63628a00411e91b24fee3b60e479946e00d00cde3a
MD5 2feaf01e7a2f38b85cde595e1f1786b4
BLAKE2b-256 eefa8edec5a022b12e98fd85c68aaa36c48aa27c15f0e21373c234a056ee679e

See more details on using hashes here.

Supported by

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