Metadata-Version: 2.4
Name: physbeh
Version: 0.6.6
Summary: Miscellaneous functions for tracking analysis in Python using DeepLabCut at Physics for Medicine
Project-URL: repository, https://github.com/FelipeCybis/physbeh
Author-email: Felipe Cybis Pereira <felipe.cybispereira@gmail.com>
License: Copyright 2026 Felipe Cybis Pereira
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
        
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: <3.14,>=3.10
Requires-Dist: joblib~=1.5.0
Requires-Dist: matplotlib~=3.10
Requires-Dist: numpy<3,>=1.24
Requires-Dist: opencv-python>=4.10.0.84
Requires-Dist: pandas[pyarrow]~=2.2
Requires-Dist: pint-pandas~=0.5
Requires-Dist: ruamel-yaml~=0.19.0
Requires-Dist: scipy~=1.12
Requires-Dist: tables~=3.10
Requires-Dist: tqdm~=4.66
Provides-Extra: all
Requires-Dist: numpydoc~=1.10.0; extra == 'all'
Requires-Dist: pre-commit; extra == 'all'
Requires-Dist: pydata-sphinx-theme~=0.14; extra == 'all'
Requires-Dist: pytest-cov>=6.0.0; extra == 'all'
Requires-Dist: pytest~=9.0.2; extra == 'all'
Requires-Dist: sphinx-copybutton~=0.5; extra == 'all'
Requires-Dist: sphinx-design~=0.5; extra == 'all'
Requires-Dist: sphinx-gallery>=0.18.0; extra == 'all'
Requires-Dist: sphinx~=8.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Provides-Extra: docs
Requires-Dist: numpydoc~=1.10.0; extra == 'docs'
Requires-Dist: pydata-sphinx-theme~=0.14; extra == 'docs'
Requires-Dist: sphinx-copybutton~=0.5; extra == 'docs'
Requires-Dist: sphinx-design~=0.5; extra == 'docs'
Requires-Dist: sphinx-gallery>=0.18.0; extra == 'docs'
Requires-Dist: sphinx~=8.0; extra == 'docs'
Provides-Extra: test
Requires-Dist: pytest-cov>=6.0.0; extra == 'test'
Requires-Dist: pytest~=9.0.2; extra == 'test'
Description-Content-Type: text/x-rst

|pypi| |zenodo| |version| |python| |build| |ruff|

.. |pypi| image:: https://img.shields.io/pypi/v/physbeh.svg
    :target: https://pypi.org/project/physbeh/
    :alt: Pypi Package

.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.15494995.svg
  :target: https://doi.org/10.5281/zenodo.15494995

.. |version| image:: https://img.shields.io/badge/version-0.6.6-orange.svg
    :target: https://github.com/FelipeCybis/physbeh/
    :alt: physbeh version

.. |python| image:: https://img.shields.io/badge/python-3.10_%7C_3.11_%7C_3.12_%7C_3.13-blue.svg
    :target: https://www.python.org/
    :alt: Python

.. |build| image:: https://github.com/FelipeCybis/physbeh/actions/workflows/run_workflows.yml/badge.svg
    :target: https://github.com/FelipeCybis/physbeh/actions/workflows/run_workflows.yml
    :alt: Build

.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

PhysBeh
=======

.. start-quickstart
.. start-about

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.

This package was implemented for easily manipulation of DeepLabCut output data.
Today there are more structured and well-maintained packages for this purpose, such as
`movement <https://github.com/neuroinformatics-unit/movement>`.


.. stop-about

Installation
------------

.. start-installation

`physbeh` can be installed from PyPI normally with `pip install physbeh`. Or you can
install it from source

1. Install PhysBeh from source
******************************

.. code-block:: bash

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

2. Check installation
*********************

Check that all tests pass:

.. code-block:: python

  import physbeh

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

.. stop-installation

.. stop-quickstart

Authors
-------

- Felipe Cybis Pereira (felipe.cybispereira@gmail.com)
