Skip to main content

donato lab [ca] imaging tools

Project description

manifolds project @ Donato lab

Installation

Recommended steps

  1. Open a command-line interface preferably inside the conda enviroment on your operating system (Windows, Mac)

  2. Use command-line to make a conda enviorment for running manifolds project:

conda create -n manifolds python=3.8

  1. Activate environment:

conda activate manifolds

  1. Install dependencies (might have to do them 1 at a time; eventually will have a script for this)

pip install: matplotlib, os, numpy, scipy, tqdm, sklearn, pickle, parmap, networkx, pandas, cv2

  1. Install jupyter notebook

conda install -c anaconda jupyter

  1. Download and unzip the Donatolab binarization repo (https://github.com/donatolab/manifolds, click onthe green "Code" button)

  2. Start jupyer notebook by typing it in at the command line

jupyter notebook

  1. Navigate to the folder where the code unzipped and click on this file to start the jupyter notebook:

"Binarize_Suite2p_Inscopix.ipynb"

  1. Run the first cell and then input the location of your suite2p folder in 2nd cell. Run the rest of the notebook.

  2. The code will save 2 files: binarized_traces.npz (a python numpy file) and binarized_traces.mat (a matlab file).

10(Optional) You can then use the last cell to visualize the traces and binarized versions for any specific cell.

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

donlabtools-0.2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

donlabtools-0.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file donlabtools-0.2.tar.gz.

File metadata

  • Download URL: donlabtools-0.2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for donlabtools-0.2.tar.gz
Algorithm Hash digest
SHA256 93fd18d36b385b0434d5d541ef890925cc1ba28b38b4ed45225253fe4c858892
MD5 3f154e116948c9269f186cf70cba222d
BLAKE2b-256 45c7583dec2a816b73eeb9edb30d2729f6209acc26136f3485c34ec1120265fa

See more details on using hashes here.

File details

Details for the file donlabtools-0.2-py3-none-any.whl.

File metadata

  • Download URL: donlabtools-0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for donlabtools-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1669e0c242701bb16042383c4a3f851a6bf2caa1458b8eb205ec9b3f2cb5c4
MD5 a521bef00a552397869e7b25031c3ada
BLAKE2b-256 a58f21e5fb2b3715e7b1874f6892870a6f504243893bba390b787907e89efed1

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