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.11.tar.gz (500.9 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.11-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: treat2p-0.1.11.tar.gz
  • Upload date:
  • Size: 500.9 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.11.tar.gz
Algorithm Hash digest
SHA256 44e996285900264bd5e9ef1e96bff3b4f3cd0f04f3d55e078325b6fa936505f8
MD5 b822bdcb66596cce873af250fff66740
BLAKE2b-256 8fef28dd3b56834b6e5d54c40e9246ebc45f6ebe7e6ee4ab42feaa97eedaca9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: treat2p-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 21.0 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 268053f4cc24ebbd5c7c880f5a7bcc5f5a0a1cd8a11df33b6b7ab8aa156e8359
MD5 570c49957bc1e2a7db589d91d9c9cedb
BLAKE2b-256 0556c6d44ab3dbb90c7b82d1fea7cd903064f4984b9fbad162eb27cb26154402

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