donato lab [ca] imaging tools
Project description
manifolds project @ Donato lab
Installation
Recommended steps
-
Open a command-line interface preferably inside the conda enviroment on your operating system (Windows, Mac)
-
Use command-line to make a conda enviorment for running manifolds project:
conda create -n manifolds python=3.8
- Activate environment:
conda activate manifolds
- 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
- Install jupyter notebook
conda install -c anaconda jupyter
-
Download and unzip the Donatolab binarization repo (https://github.com/donatolab/manifolds, click onthe green "Code" button)
-
Start jupyer notebook by typing it in at the command line
jupyter notebook
- Navigate to the folder where the code unzipped and click on this file to start the jupyter notebook:
"Binarize_Suite2p_Inscopix.ipynb"
-
Run the first cell and then input the location of your suite2p folder in 2nd cell. Run the rest of the notebook.
-
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
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
Built Distribution
Hashes for donlabtools-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf1669e0c242701bb16042383c4a3f851a6bf2caa1458b8eb205ec9b3f2cb5c4 |
|
MD5 | a521bef00a552397869e7b25031c3ada |
|
BLAKE2b-256 | a58f21e5fb2b3715e7b1874f6892870a6f504243893bba390b787907e89efed1 |