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.1.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for croparray-0.1.1.tar.gz
Algorithm Hash digest
SHA256 edb9d68cd7f19b245d32f83a83b931ed7544e62fa0c497f53dc8625d49a98f71
MD5 b8ff94d77372bf200434b6c717ae5480
BLAKE2b-256 95033e84ab17fe6cb19df134e3346c713fc5a47996dbf0b9158b11d60b4a1794

See more details on using hashes here.

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

Hashes for croparray-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb8b412ab11933e7145c9dbfe2e994777951c0092b9736b9e6a66924d4985ba0
MD5 b7ba4a0fe6273349779df9250f1d65c5
BLAKE2b-256 72e29f33d5cc94146385f15e4a68621820f1cd5a2fec4770d741c370f9a25db6

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