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.10.tar.gz (500.0 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.10-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: treat2p-0.1.10.tar.gz
  • Upload date:
  • Size: 500.0 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.10.tar.gz
Algorithm Hash digest
SHA256 9cfefa0cf6ea58f76965a6a743490219c3ccac1b5a3d8510e184e9ecefdbd590
MD5 369830b5b13e3319ce2916a2c3b91dc7
BLAKE2b-256 aea7f7b572016b43ac8fff77ce2b5fbd4e5731ba4758f3d08da825eaf2e341a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: treat2p-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 24c7c21838bc2e6284fd4a9c452c02ecb1eb08e3705464ef16a50e800a266ccf
MD5 17e44e75dcc69071225a5655d0e807b3
BLAKE2b-256 486f6c562286ee4bf5577e6cba740c6b14d6ee0bc1292f4d25f118d330ca11c4

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