To be used in conjunction with Bonsai-RX to extract behavior from video
Project description
· Report Bug · Request Feature
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:
- Copying and pasting from here:
- "pip install behavython" (without quotation[""] marks)
- Going to the Pypi site and copying from there:
At the moment, Behavython was mainly tested on Windows
Usage
- Windows
- 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
- 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
- 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.
- 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
- Flávio Mourão:
Github: Flávio Mourão Twitter: @F_Mourao_ - Lab:
Núcleo de Neurociências
Developed at
Nucleo de Neurociencias - NNC
Universidade Federal de Minas Gerais - UFMG
Brazil
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df4a2df6f3aa1c9424ddd30b30f7eb5b1f7d4b9ca19b91730f6594abb998cdd |
|
MD5 | 32f90ca6cba4c126c968d01822e04290 |
|
BLAKE2b-256 | ad80e727f94ba3229cca572493a4a385d7f95de30a7e322d1a65fc4a7a9b18c9 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc2dbb2c772d671b45b1da58ee43ebb6aa851ad2bd1c6f5fdbfa896972c7268 |
|
MD5 | a95d8bea81011f5f167ffdfd5f0e9962 |
|
BLAKE2b-256 | aa55b2d628374ff7097ebd51960c984326eb3a10a070807231becafcbe228b30 |