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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

donlabtools-0.21-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

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