Skip to main content

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.

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)

Source distribution for treat2p 0.1.12
File Size Uploaded
treat2p-0.1.12.tar.gz 501.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for treat2p 0.1.12
File Interpreter ABI Platform
treat2p-0.1.12-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.1

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page