Skip to main content

Miscellaneous functions for tracking analysis in Python using DeepLabCut at Physics for Medicine

Project description

zenodo physbeh version Python Build Ruff

PhysBeh

This repository contains the main function and classes written in Python for analysis of tracking data in the Physics for Medicine lab.

The code is written in the format of a Python package (physbeh).

This is the core package used for the behavioral analysis in the following paper:

  1. Cybis Pereira, F., Castedo, S.H., Meur-Diebolt, S.L., Ialy-Radio, N., Bhattacharya, S., Ferrier, J., Osmanski, B.F., Cocco, S., Monasson, R., Pezet, S., et al. (2026). A vascular code for speed in the spatial navigation system. Cell Reports 45. https://doi.org/10.1016/j.celrep.2025.116791.

Installation

1. Setup a virtual environment

Create and activate a new python environment (if familiarisation with virtual environments is needed, you can start here or here):

  • Using venv (recommended):

    On Linux

    python3 -m venv /path_to_env
    source /path_to_env/bin/activate

    On Windows

    python3 -m venv /path_to_env
    /path_to_env/Script/activate
  • Using conda:

    conda create -n physbeh python=3.11
    conda activate physbeh

2. Install PhysBeh from source

PhysBeh is a private package developed by Iconeus and Physics for Medicine and is not available from PyPI.

python -m pip install git+https://github.com/FelipeCybis/physbeh.git

3. Check installation

Check that all tests pass:

import physbeh

If no error is raised, you have installed PhysBeh correctly.

Authors

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

physbeh-0.6.4.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

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

physbeh-0.6.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file physbeh-0.6.4.tar.gz.

File metadata

  • Download URL: physbeh-0.6.4.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for physbeh-0.6.4.tar.gz
Algorithm Hash digest
SHA256 0c79437d1449f5c57ebfe1c897d2644d66d21e8c74ef7ca809eef3d88521f790
MD5 afba25be05df4389fbb4a7a09891a762
BLAKE2b-256 5e2aa9f2d40780a633c61eef7b07adfc91997fc9e55ffb401067deb9d72c487f

See more details on using hashes here.

File details

Details for the file physbeh-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: physbeh-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for physbeh-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3e48061f7c98b8fd0c5bd06816e8af5f1d0811dc683581c3c0de28dbccbfb11
MD5 70ba927b703a7b3b64db97ff4d64cdd9
BLAKE2b-256 aafb95794eb0edc19e62678a9144c711344ed1fd040c7ab3332173961d5a0b12

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