You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline for processing two-photon calcium imaging data.
19
-
Copyright (C) 2018 Howard Hughes Medical Institute Janelia Research Campus
18
+
Pipeline for processing two-photon calcium imaging data.
19
+
Copyright (C) 2018 Howard Hughes Medical Institute Janelia Research Campus
20
20
21
21
suite2p includes the following modules:
22
22
@@ -25,9 +25,9 @@ suite2p includes the following modules:
25
25
* Spike detection
26
26
* Visualization GUI
27
27
28
-
This code was written by Carsen Stringer and Marius Pachitariu.
28
+
This code was written by Carsen Stringer and Marius Pachitariu.
29
29
For support, please open an [issue](https://github.com/MouseLand/suite2p/issues).
30
-
The reference paper is [here](https://www.biorxiv.org/content/early/2017/07/20/061507).
30
+
The reference paper is [here](https://www.biorxiv.org/content/early/2017/07/20/061507).
31
31
The deconvolution algorithm is based on [this paper](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005423), with settings based on [this paper](http://www.jneurosci.org/content/early/2018/08/06/JNEUROSCI.3339-17.2018).
32
32
33
33
You can now run suite2p in google colab, no need to locally install: [](https://colab.research.google.com/github/MouseLand/suite2p/blob/main/jupyter/run_suite2p_colab_2021.ipynb). Note you do not have access to the GUI via google colab, but you can download the processed files and view them locally in the GUI.
@@ -54,14 +54,14 @@ Pachitariu, M., Stringer, C., Schröder, S., Dipoppa, M., Rossi, L. F., Carandin
54
54
2. Open an anaconda prompt / command prompt with `conda` for **python 3** in the path
55
55
3. Create a new environment with `conda create --name suite2p python=3.9`.
56
56
4. To activate this new environment, run `conda activate suite2p`
57
-
5. (Option 1) You can install the minimal version of suite2p, run `python -m pip install suite2p`.
57
+
5. (Option 1) You can install the minimal version of suite2p, run `python -m pip install suite2p`.
58
58
6. (Option 2) You can install the GUI version with `python -m pip install suite2p[gui]`. If you're on a zsh server, you may need to use `' '` around the suite2p[gui] call: `python -m pip install 'suite2p[gui]'`. This also installs the NWB dependencies.
59
59
7. Now run `python -m suite2p` and you're all set.
60
60
8. Running the command `suite2p --version` in the terminal will print the install version of suite2p.
61
61
62
62
For additional dependencies, like h5py, NWB, Scanbox, and server job support, use the command `python -m pip install suite2p[io]`.
63
63
64
-
If you are running suite2p on Windows or Linux we recommend installing ScanImage Tiff Reader with `pip install scanimage-tiff-reader` (this package is no longer supported on Mac, but may be supported again in the near future, we will change the instructions accordingly if so).
64
+
We recommend installing ScanImage Tiff Reader with `pip install scanimage-tiff-reader`.
65
65
66
66
If you have an older `suite2p` environment you can remove it with `conda env remove -n suite2p` before creating a new one.
67
67
@@ -73,11 +73,9 @@ pip install --upgrade suite2p
73
73
~~~~
74
74
75
75
### Installation for Macs with Apple Silicon chips (e.g., M1)
76
-
1. Download an iTerm2 terminal from this [link](https://iterm2.com/). Install it into your /Applications folder. If you already have downloaded iTerm, duplicate it and give it whatever name you'd like (e.g., "iterm2Rosetta").
77
-
2. Navigate to the iTerm app you will use, right click it, and then select "Get Info". Check "Open using Rosetta".
78
-
3. Open up this iTerm app and follow steps 1 & 2 in the installation section [above](#installation_section) to install anaconda.
79
-
4. Use the following command `CONDA_SUBDIR=osx-64 conda create --name suite2p python=3.9`
80
-
5. Follow steps 4-7 in the installation section [above](#installation_section) to install the `suite2p` package.
76
+
1. Follow steps 1 & 2 in the installation section [above](#installation_section) to install anaconda.
77
+
2. Use the following command `CONDA_SUBDIR=osx-64 conda create --name suite2p python=3.9`
78
+
3. Follow steps 4-7 in the installation section [above](#installation_section) to install the `suite2p` package.
81
79
82
80
83
81
### Installing the latest github version of the code
If you want to download and edit the code, and use that version,
91
-
1. Clone the repository with git and `cd suite2p`
89
+
1. Clone the repository with git and `cd suite2p`
92
90
2. Run `pip install -e .` in that folder
93
91
94
92
**Common issues**
@@ -148,7 +146,7 @@ The GUI serves two main functions:
148
146
149
147
Main GUI controls (works in all views):
150
148
151
-
1. Pan = Left-Click + drag
149
+
1. Pan = Left-Click + drag
152
150
2. Zoom = (Scroll wheel) OR (Right-Click + drag)
153
151
3. Full view = Double left-click OR escape key
154
152
4. Swap cell = Right-click on the cell
@@ -174,10 +172,10 @@ See our example jupyter notebook [here](jupyter/run_pipeline_tiffs_or_batch.ipyn
174
172
## Outputs
175
173
176
174
~~~~
177
-
F.npy: array of fluorescence traces (ROIs by timepoints)
178
-
Fneu.npy: array of neuropil fluorescence traces (ROIs by timepoints)
179
-
spks.npy: array of deconvolved traces (ROIs by timepoints)
180
-
stat.npy: array of statistics computed for each cell (ROIs by 1)
175
+
F.npy: array of fluorescence traces (ROIs by timepoints)
176
+
Fneu.npy: array of neuropil fluorescence traces (ROIs by timepoints)
177
+
spks.npy: array of deconvolved traces (ROIs by timepoints)
178
+
stat.npy: array of statistics computed for each cell (ROIs by 1)
181
179
ops.npy: options and intermediate outputs
182
180
iscell.npy: specifies whether an ROI is a cell, first column is 0/1, and second column is probability that the ROI is a cell based on the default classifier
0 commit comments