Treat2p
Made to be used with suite2p, to extend it's capabilities with treatment ones, on top of the nice roi signal extraction features of suite2p.
Made after the matlab developments of Pierre Pierre Marie Gardères
Getting started
To install this package, you simply need to hop into your own virtual environment and run :
pip install treat2p
or
uv add treat2p
How to use :
In short, to treat some plane/channel data that suite2p extracted already:
import treat2p
suite2p_path = r"C:\Users\yourname\Desktop\suite2p"
outputs, stats, ops = treat2p.run_treat2p(suite2p_path, plane = 0, chan = 1)
run_treat2p takes all the arguments that goes into the various stages of the pipeline, registers, them, and stores them in the ops.npy file under the treat2p key.
- neuropil factor estimation (and correction)
- slow trend estimation (and correction)
- deltaF/F0 normalization normalisation or
- "mean centered" normalization
For a bit more explanations, please see the jupyter notebook tutorial here.
Metadata
Release files for treat2p 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| treat2p-0.1.12.tar.gz | 501.2 kB | Without provenance | Details for treat2p-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| treat2p-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for treat2p-0.1.12-py3-none-any.whl |
Total release size: 522.4 kB
Release files / treat2p-0.1.12.tar.gz
| Download URL | treat2p-0.1.12.tar.gz |
|---|---|
| Size | 501.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
811f8719a5934c3b4db85ae595f57588043e056a5f3865363cb9cfe4dde944d2
|
|
BLAKE2b-256 checksum How to use checksums |
3c2529944eea0c0f3c6840037bc622b6efc5d69bc14ac892d9308e9796401f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / treat2p-0.1.12-py3-none-any.whl
| Download URL | treat2p-0.1.12-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbd865f55beef132fd5d49f8d00f6ccecb44e4c5b06446012ae8bf6c10b729dc
|
|
BLAKE2b-256 checksum How to use checksums |
bbd152275a321a9b04b61c398c58d4fa2c0022e7f4a77c8c4c7e66ea722411b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for treat2p 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.