Skip to main content

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treat2p-0.1.12.tar.gz (501.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treat2p-0.1.12-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file treat2p-0.1.12.tar.gz.

File metadata

  • Download URL: treat2p-0.1.12.tar.gz
  • Upload date:
  • Size: 501.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for treat2p-0.1.12.tar.gz
Algorithm Hash digest
SHA256 811f8719a5934c3b4db85ae595f57588043e056a5f3865363cb9cfe4dde944d2
MD5 041722507ad01a8bb3b7d8b4be14ef31
BLAKE2b-256 3c2529944eea0c0f3c6840037bc622b6efc5d69bc14ac892d9308e9796401f47

See more details on using hashes here.

File details

Details for the file treat2p-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: treat2p-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for treat2p-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd865f55beef132fd5d49f8d00f6ccecb44e4c5b06446012ae8bf6c10b729dc
MD5 553509824bbdba6511ee37e647d53a7a
BLAKE2b-256 bbd152275a321a9b04b61c398c58d4fa2c0022e7f4a77c8c4c7e66ea722411b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page