Treatment pipeline for suite2p extracted fluorescent traces over time.
Project description
Treat2p
Made to be used with suite2p, to extend it's capabilities with treatment one, on top of the nice extraction features of suite2p.
Made after the matlab developments of Pierre Marie Gardères.
Getting started
To install this package, you simply need to hop into your own virtual / anaconda environment and run :
pip install git+https://gitlab.pasteur.fr/haisslab/analysis-packages/treat2p.git
It is as simple as that.
In case there is some messages telling you about import errors when you import treat2p, (please don't hesitate to report problems with the issues tracker) the necessary packages to install by yourself are :
- numpy
- joblib (a famous library to parallelize processings easily in python, usedc by scipy)
- scipy
- tqdm (a famous progress tracker, used by pandas)
How to use :
In short, to run on a suite2p plane/channel :
import treat2p
suite2p_path = r"C:\Users\yourname\Desktop\suite2p"
outputs, stats, ops = treat2p.run_treat2p(suite2p_path, plane = 0, chan = 1)
For a bit more explanations, please see the jupyter notebook tutorial here.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file treat2p-0.1.1.tar.gz.
File metadata
- Download URL: treat2p-0.1.1.tar.gz
- Upload date:
- Size: 450.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8fd87996e11de3a209647af6db392c3991ad7955676f9635cd929249c7fddd1
|
|
| MD5 |
811c65be7af6e04f8384ce11c454fa16
|
|
| BLAKE2b-256 |
d58762d9f515e13303122b1efa2d3ba9770c1755e56d43c14a944413cb530476
|
File details
Details for the file treat2p-0.1.1-py3-none-any.whl.
File metadata
- Download URL: treat2p-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6d864ca6bf6dc3de8aa0602165d1d80bb8783cd06ba138388958b553350c56
|
|
| MD5 |
2fdec4e08013626cdd63f0b5e7e96575
|
|
| BLAKE2b-256 |
a2a0cfa408aa854e6b41c87cd7cb2fdbbba0e9e8190069d0200cbf0e3efeed1a
|