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.3.tar.gz (611.7 kB view details)

Uploaded Source

Built Distribution

behavython-0.6.3-py3-none-any.whl (609.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: behavython-0.6.3.tar.gz
  • Upload date:
  • Size: 611.7 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.3.tar.gz
Algorithm Hash digest
SHA256 6888ff13cbec553e3ddac4e72c8b92b0dedb539301957552539f3f32dd06f8e2
MD5 84e5e01ff926ae9698801f5fa9e7e19d
BLAKE2b-256 83b050238d1bdd2fe88ed6a79f48eb303ce575d73253bbfc4768221fe90aeb6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: behavython-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 609.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a904c973daa75dcf6c0f326e04fb93e3d309cc995aa554677511e525fc4d1595
MD5 89a932b1d99b606a83abf3ee09782a14
BLAKE2b-256 fa509c5fd562cc6e2ffb57373e33c052a3d1bc2bd367db94d26bdc240b6c3d48

See more details on using hashes here.

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