behavython


Namebehavython JSON
Version 0.6.3 PyPI version JSON
download
home_pagehttps://github.com/mrdrzit/Behavython
SummaryTo be used in conjunction with Bonsai-RX to extract behavior from video
upload_time2024-02-13 13:45:42
maintainer
docs_urlNone
authorJoão Pedro & Matheus Costa
requires_python
licenseGPL-3.0
keywords plusmaze openfield behavior analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
              [![Issues][issues-shield]][issues-url]
  [![Issues][closed-issues-shield]][closed-issues-url]
  [![GNU General Public License v3.0][license-shield]][license-url]


<!-- PROJECT LOGO -->
<br/>
<div align="center">
    <img
     src="https://raw.githubusercontent.com/mrdrzit/Behavython/main/logo/logo.png"
     style="max-width: 100%; height: 100%;"
     alt="Behavython software"

  <p align="center">
    <span style="font-size:14px">To be used in conjunction with <a href=https://bonsai-rx.org>Bonsai-RX</a> to extract behavior from video </span>
    <br />
    ·
    <a href="https://github.com/mrdrzit/Behavython/issues">Report Bug</a>
    ·
    <a href="https://github.com/mrdrzit/Behavython/issues">Request Feature</a>
  </p>
</div>



<!-- TABLE OF CONTENTS -->

  <summary>Table of Contents</summary>
  <ol>
    <li>
      <a href="#about">About the project</a>
      <ul>
        <li><a href="#built-with">Built With</a></li>
      </ul>
    </li>
    <li>
      <a href="#getting-started">Getting Started</a>
      <ul>
        <li><a href="#prerequisites">Prerequisites</a></li>
        <li><a href="#installation">Installation</a></li>
      </ul>
    </li>
    <li><a href="#usage">Usage</a></li>
    <li><a href="#contributing">Contributing</a></li>
    <li><a href="#license">License</a></li>
    <li><a href="#contact">Contact</a></li>
    <li><a href="#acknowledgments">Acknowledgments</a></li>
  </ol>




<!-- ABOUT THE PROJECT -->
<br/>

### About
- <span style="font-size:14px">This software was developed to be used in conjunction with <a href=https://bonsai-rx.org>Bonsai-RX</a> 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. </span>
- <span style="font-size:14px">The software also implements bindings to the <a href=https://github.com/DeepLabCut/DeepLabCut>DeepLabCut</a> package, allowwing users to run the analysis using pretrained models on their data. </span>

### Built With

* [Python](https://www.python.org/)
* [Qt Designer](https://doc.qt.io/qt-5/qtdesigner-manual.html)


<!-- GETTING STARTED -->
## 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:
   	- [PyPi frontpage](https://pypi.org/project/behavython/)

_At the moment, Behavython was mainly tested on Windows_
<br/>
<!-- USAGE EXAMPLES -->
## 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
 	
<p align="center">
  <img src="https://user-images.githubusercontent.com/83073576/184265356-f986cfba-65bf-4e18-a297-75e0f956e2dc.png" width="600" heigth="600" title="With this you'll be almost set">
</p>

 2. 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
 	
<p align="center">
  <img src="https://user-images.githubusercontent.com/83073576/184265915-4ed017de-3b79-4bbe-9d36-5b2c449317ad.png" width="600" heigth="600" title="Don't forget tha data files in the csv format">
</p>

3. 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.
 	
<p align="center">
  <img src="https://user-images.githubusercontent.com/83073576/184266129-8221c85a-a2cc-4024-9301-49e721d4477f.png" width="600" heigth="600" title="Don't forget tha data files in the csv format">
</p>

4. When finished the progress bar will show 100% and a preview of the results will be available on the right
 	
<p align="center">
  <img src="https://user-images.githubusercontent.com/83073576/184266218-3f14f4d6-f979-478e-9b36-1fe4f0631635.png" width="600" heigth="600" title="You just need to wait now:)">
</p>
             
See the [open issues](https://github.com/mrdrzit/Behavython/issues) for a full list of proposed features (and known issues).
<br/>

<!-- CONTRIBUTING -->
## 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 :)

<br/>
                                

<!-- LICENSE -->
## License

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

<br/>


<!-- CONTACT -->
## Contact

João Pedro Carvalho Moreira - mcjpedro@gmail.com<br />
Matheus Costa - matheuscosta3004@gmail.com

<br/>

<!-- ACKNOWLEDGMENTS -->
## Acknowledgments

* Flávio Mourão:<br/>
    Github: [Flávio Mourão](https://github.com/fgmourao) Twitter: [@F_Mourao_](https://twitter.com/F_Mourao_)
* Lab:<br/>
    [Núcleo de Neurociências](http://www.nnc.ufmg.br) 


### Developed at                                
Nucleo de Neurociencias - NNC<br/>
Universidade Federal de Minas Gerais - UFMG<br/>
Brazil<br/>


<!-- MARKDOWN LINKS & IMAGES -->
[issues-shield]: https://img.shields.io/github/issues/mrdrzit/Behavython
[issues-url]: https://github.com/mrdrzit/Behavython/issues
[closed-issues-shield]: https://img.shields.io/github/issues-closed/mrdrzit/Behavython?color=%2321e00b
[closed-issues-url]: https://github.com/mrdrzit/Behavython/issues?q=is%3Aissue+is%3Aclosed
[license-shield]: https://img.shields.io/github/license/mrdrzit/Behavython
[license-url]: https://github.com/mrdrzit/Behavython/blob/main/LICENSE

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mrdrzit/Behavython",
    "name": "behavython",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "plusmaze,openfield,behavior,analysis",
    "author": "Jo\u00e3o Pedro & Matheus Costa",
    "author_email": "mcjpedro@gmail.com, matheuscosta3004@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/83/b0/50238d1bdd2fe88ed6a79f48eb303ce575d73253bbfc4768221fe90aeb6a/behavython-0.6.3.tar.gz",
    "platform": null,
    "description": "  [![Issues][issues-shield]][issues-url]\r\n  [![Issues][closed-issues-shield]][closed-issues-url]\r\n  [![GNU General Public License v3.0][license-shield]][license-url]\r\n\r\n\r\n<!-- PROJECT LOGO -->\r\n<br/>\r\n<div align=\"center\">\r\n    <img\r\n     src=\"https://raw.githubusercontent.com/mrdrzit/Behavython/main/logo/logo.png\"\r\n     style=\"max-width: 100%; height: 100%;\"\r\n     alt=\"Behavython software\"\r\n\r\n  <p align=\"center\">\r\n    <span style=\"font-size:14px\">To be used in conjunction with <a href=https://bonsai-rx.org>Bonsai-RX</a> to extract behavior from video </span>\r\n    <br />\r\n    \u00b7\r\n    <a href=\"https://github.com/mrdrzit/Behavython/issues\">Report Bug</a>\r\n    \u00b7\r\n    <a href=\"https://github.com/mrdrzit/Behavython/issues\">Request Feature</a>\r\n  </p>\r\n</div>\r\n\r\n\r\n\r\n<!-- TABLE OF CONTENTS -->\r\n\r\n  <summary>Table of Contents</summary>\r\n  <ol>\r\n    <li>\r\n      <a href=\"#about\">About the project</a>\r\n      <ul>\r\n        <li><a href=\"#built-with\">Built With</a></li>\r\n      </ul>\r\n    </li>\r\n    <li>\r\n      <a href=\"#getting-started\">Getting Started</a>\r\n      <ul>\r\n        <li><a href=\"#prerequisites\">Prerequisites</a></li>\r\n        <li><a href=\"#installation\">Installation</a></li>\r\n      </ul>\r\n    </li>\r\n    <li><a href=\"#usage\">Usage</a></li>\r\n    <li><a href=\"#contributing\">Contributing</a></li>\r\n    <li><a href=\"#license\">License</a></li>\r\n    <li><a href=\"#contact\">Contact</a></li>\r\n    <li><a href=\"#acknowledgments\">Acknowledgments</a></li>\r\n  </ol>\r\n\r\n\r\n\r\n\r\n<!-- ABOUT THE PROJECT -->\r\n<br/>\r\n\r\n### About\r\n- <span style=\"font-size:14px\">This software was developed to be used in conjunction with <a href=https://bonsai-rx.org>Bonsai-RX</a> 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. </span>\r\n- <span style=\"font-size:14px\">The software also implements bindings to the <a href=https://github.com/DeepLabCut/DeepLabCut>DeepLabCut</a> package, allowwing users to run the analysis using pretrained models on their data. </span>\r\n\r\n### Built With\r\n\r\n* [Python](https://www.python.org/)\r\n* [Qt Designer](https://doc.qt.io/qt-5/qtdesigner-manual.html)\r\n\r\n\r\n<!-- GETTING STARTED -->\r\n## Getting Started\r\n\r\n### Prerequisites\r\n\r\n  - deeplabcut\r\n  - seaborn\r\n  - pyside6\r\n  - openpyxl\r\n  - scikit-image\r\n  - pandas\r\n  - numpy\r\n  - matplotlib\r\n  - tk\r\n  - scipy\r\n\r\n***For a simple way to keep up to date with requirements, reference the requirements.txt file***\r\n### Installation as a pip package \r\nFor the installation you need a simple command that you can get by one of two ways: \r\n\r\n 1. Copying and pasting from here:\r\n\t- \"pip install behavython\" (without quotation[\"\"] marks)\r\n 2. Going to the Pypi site and copying from there:\r\n   \t- [PyPi frontpage](https://pypi.org/project/behavython/)\r\n\r\n_At the moment, Behavython was mainly tested on Windows_\r\n<br/>\r\n<!-- USAGE EXAMPLES -->\r\n## Usage\r\n                                \r\n- Windows\r\n\r\n 1. Open the interface typing \"behavython\" on the command line\r\n \t- If you installed it as a pip package you can just type \"behavython\" on the command line\r\n \t- 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\r\n \t\r\n<p align=\"center\">\r\n  <img src=\"https://user-images.githubusercontent.com/83073576/184265356-f986cfba-65bf-4e18-a297-75e0f956e2dc.png\" width=\"600\" heigth=\"600\" title=\"With this you'll be almost set\">\r\n</p>\r\n\r\n 2. Select all the photo-data pairs that you want to analyze\r\n \t- 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\r\n \t\r\n<p align=\"center\">\r\n  <img src=\"https://user-images.githubusercontent.com/83073576/184265915-4ed017de-3b79-4bbe-9d36-5b2c449317ad.png\" width=\"600\" heigth=\"600\" title=\"Don't forget tha data files in the csv format\">\r\n</p>\r\n\r\n3. Wait for the program to finish the analysis\r\n \t- 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.\r\n \t\r\n<p align=\"center\">\r\n  <img src=\"https://user-images.githubusercontent.com/83073576/184266129-8221c85a-a2cc-4024-9301-49e721d4477f.png\" width=\"600\" heigth=\"600\" title=\"Don't forget tha data files in the csv format\">\r\n</p>\r\n\r\n4. When finished the progress bar will show 100% and a preview of the results will be available on the right\r\n \t\r\n<p align=\"center\">\r\n  <img src=\"https://user-images.githubusercontent.com/83073576/184266218-3f14f4d6-f979-478e-9b36-1fe4f0631635.png\" width=\"600\" heigth=\"600\" title=\"You just need to wait now:)\">\r\n</p>\r\n             \r\nSee the [open issues](https://github.com/mrdrzit/Behavython/issues) for a full list of proposed features (and known issues).\r\n<br/>\r\n\r\n<!-- CONTRIBUTING -->\r\n## Contributing\r\n\r\nContributions 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 :)\r\n\r\n<br/>\r\n                                \r\n\r\n<!-- LICENSE -->\r\n## License\r\n\r\nDistributed under the GNU General Public License v3.0. See `LICENSE.txt` for more information.\r\n\r\n<br/>\r\n\r\n\r\n<!-- CONTACT -->\r\n## Contact\r\n\r\nJo\u00e3o Pedro Carvalho Moreira - mcjpedro@gmail.com<br />\r\nMatheus Costa - matheuscosta3004@gmail.com\r\n\r\n<br/>\r\n\r\n<!-- ACKNOWLEDGMENTS -->\r\n## Acknowledgments\r\n\r\n* Fl\u00e1vio Mour\u00e3o:<br/>\r\n    Github: [Fl\u00e1vio Mour\u00e3o](https://github.com/fgmourao) Twitter: [@F_Mourao_](https://twitter.com/F_Mourao_)\r\n* Lab:<br/>\r\n    [N\u00facleo de Neuroci\u00eancias](http://www.nnc.ufmg.br) \r\n\r\n\r\n### Developed at                                \r\nNucleo de Neurociencias - NNC<br/>\r\nUniversidade Federal de Minas Gerais - UFMG<br/>\r\nBrazil<br/>\r\n\r\n\r\n<!-- MARKDOWN LINKS & IMAGES -->\r\n[issues-shield]: https://img.shields.io/github/issues/mrdrzit/Behavython\r\n[issues-url]: https://github.com/mrdrzit/Behavython/issues\r\n[closed-issues-shield]: https://img.shields.io/github/issues-closed/mrdrzit/Behavython?color=%2321e00b\r\n[closed-issues-url]: https://github.com/mrdrzit/Behavython/issues?q=is%3Aissue+is%3Aclosed\r\n[license-shield]: https://img.shields.io/github/license/mrdrzit/Behavython\r\n[license-url]: https://github.com/mrdrzit/Behavython/blob/main/LICENSE\r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "To be used in conjunction with Bonsai-RX to extract behavior from video",
    "version": "0.6.3",
    "project_urls": {
        "Homepage": "https://github.com/mrdrzit/Behavython"
    },
    "split_keywords": [
        "plusmaze",
        "openfield",
        "behavior",
        "analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa509c5fd562cc6e2ffb57373e33c052a3d1bc2bd367db94d26bdc240b6c3d48",
                "md5": "89a932b1d99b606a83abf3ee09782a14",
                "sha256": "a904c973daa75dcf6c0f326e04fb93e3d309cc995aa554677511e525fc4d1595"
            },
            "downloads": -1,
            "filename": "behavython-0.6.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "89a932b1d99b606a83abf3ee09782a14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 609760,
            "upload_time": "2024-02-13T13:45:39",
            "upload_time_iso_8601": "2024-02-13T13:45:39.853579Z",
            "url": "https://files.pythonhosted.org/packages/fa/50/9c5fd562cc6e2ffb57373e33c052a3d1bc2bd367db94d26bdc240b6c3d48/behavython-0.6.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83b050238d1bdd2fe88ed6a79f48eb303ce575d73253bbfc4768221fe90aeb6a",
                "md5": "84e5e01ff926ae9698801f5fa9e7e19d",
                "sha256": "6888ff13cbec553e3ddac4e72c8b92b0dedb539301957552539f3f32dd06f8e2"
            },
            "downloads": -1,
            "filename": "behavython-0.6.3.tar.gz",
            "has_sig": false,
            "md5_digest": "84e5e01ff926ae9698801f5fa9e7e19d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 611661,
            "upload_time": "2024-02-13T13:45:42",
            "upload_time_iso_8601": "2024-02-13T13:45:42.407475Z",
            "url": "https://files.pythonhosted.org/packages/83/b0/50238d1bdd2fe88ed6a79f48eb303ce575d73253bbfc4768221fe90aeb6a/behavython-0.6.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-13 13:45:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mrdrzit",
    "github_project": "Behavython",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "behavython"
}
        
Elapsed time: 0.18476s