Skip to main content

To be used in conjunction with Bonsai-RX to extract behavior from video

Project description

Issues Issues GNU General Public License v3.0


Behavython software To be used in conjunction with Bonsai-RX to extract behavior from video
· Report Bug · Request Feature

Table of Contents
  1. About the project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About

  • This software was developed to be used in conjunction with Bonsai-RX to extract behavior from video. It is a simple interface that allows the user to select the data and image files that were generated by Bonsai and then run the analysis. The results are saved in a csv file that can be used for further analysis.
  • The software also implements bindings to the DeepLabCut package, allowwing users to run the analysis using pretrained models on their data.

Built With

Getting Started

Prerequisites

  • deeplabcut
  • seaborn
  • pyside6
  • openpyxl
  • scikit-image
  • pandas
  • numpy
  • matplotlib
  • tk
  • scipy

For a simple way to keep up to date with requirements, reference the requirements.txt file

Installation as a pip package

For the installation you need a simple command that you can get by one of two ways:

  1. Copying and pasting from here:
    • "pip install behavython" (without quotation[""] marks)
  2. Going to the Pypi site and copying from there:

At the moment, Behavython was mainly tested on Windows

Usage

  • Windows
  1. Open the interface typing "behavython" on the command line
    • If you installed it as a pip package you can just type "behavython" on the command line
    • If you downloaded the source code you need to go to the folder where you downloaded it and type "python Bbehavython_front.py" on the command line

  1. Select all the photo-data pairs that you want to analyze
    • In this step is important that you don't forget to verify that you got all the bonsai files, including the data and a image of the arena that you are analyzing

  1. Wait for the program to finish the analysis
    • Currently the program looks like it freezed when running. It is expected behavior but we are looking into it. Right now you only need to wait a little bit.

  1. When finished the progress bar will show 100% and a preview of the results will be available on the right

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue explaining what is the problem. Also, you can reach us by mail - listed at the end :)


License

Distributed under the GNU General Public License v3.0. See LICENSE.txt for more information.


Contact

João Pedro Carvalho Moreira - mcjpedro@gmail.com
Matheus Costa - matheuscosta3004@gmail.com


Acknowledgments

Developed at

Nucleo de Neurociencias - NNC
Universidade Federal de Minas Gerais - UFMG
Brazil

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

behavython-0.6.0.tar.gz (610.5 kB view details)

Uploaded Source

Built Distribution

behavython-0.6.0-py3-none-any.whl (608.5 kB view details)

Uploaded Python 3

File details

Details for the file behavython-0.6.0.tar.gz.

File metadata

  • Download URL: behavython-0.6.0.tar.gz
  • Upload date:
  • Size: 610.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for behavython-0.6.0.tar.gz
Algorithm Hash digest
SHA256 9df4a2df6f3aa1c9424ddd30b30f7eb5b1f7d4b9ca19b91730f6594abb998cdd
MD5 32f90ca6cba4c126c968d01822e04290
BLAKE2b-256 ad80e727f94ba3229cca572493a4a385d7f95de30a7e322d1a65fc4a7a9b18c9

See more details on using hashes here.

Provenance

File details

Details for the file behavython-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: behavython-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 608.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for behavython-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acc2dbb2c772d671b45b1da58ee43ebb6aa851ad2bd1c6f5fdbfa896972c7268
MD5 a95d8bea81011f5f167ffdfd5f0e9962
BLAKE2b-256 aa55b2d628374ff7097ebd51960c984326eb3a10a070807231becafcbe228b30

See more details on using hashes here.

Provenance

Supported by

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