visiomode


Namevisiomode JSON
Version 0.6.0 PyPI version JSON
download
home_pageNone
SummaryAn open-source platform for touchscreen-based visuomotor tasks in rodents.
upload_time2024-08-29 12:45:43
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2019 Constantinos Eleftheriou 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.
keywords behaviour neuroscience rodent touchscreen
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ![https://www.visiomode.org](./resources/banner.png)

---

 [![Build Status](https://github.com/celefthe/visiomode/workflows/build/badge.svg)](https://github.com/celefthe/visiomode/actions)
[![codecov](https://codecov.io/gh/celefthe/visiomode/branch/master/graph/badge.svg?token=1O1WDTTHOH)](https://codecov.io/gh/celefthe/visiomode)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)


Visiomode is an open-source platform for rodent touchscreen-based visuomotor tasks. It has been designed to promote the use of touchscreens as an accessible option for implementing a variety of visual task paradigms, with low-cost and ease-of-use as a priority. Visiomode is implemented on the popular Raspberry Pi computer, and provides the user with an intuitive web interface to design and manage experiments. It can be deployed as a stand-alone cognitive testing solution in both freely-moving and head-restrained environments.


## Installation


### Raspberry Pi OS (recommended)

The recommended way to install Visiomode is by using `pipx` (<https://pypa.github.io/pipx/>). `pipx` will create an isolated python environment from which Visiomode will run, leaving the system python alone. This is the recommended way to install Visiomode, as it will not interfere with any other python packages you may have installed on your system.

First, make sure that your Raspberry Pi OS is up-to-date.

```bash
sudo apt update && sudo apt upgrade
```

Visiomode runs on SDL 2.0. To make sure all system dependencies are present, run

```bash
sudo apt install libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 libsdl2-ttf-2.0-0
```

Install `pipx` using

```bash
sudo apt install pipx
```

And finally, install Visiomode using `pipx`:

```bash
pipx install visiomode
```


### Linux / MacOS

While Visiomode primarily targets the Raspberry Pi OS, it can be installed on any Linux or MacOS machine, which can be useful for trying out the software before deployment, or for testing. Please note that only the Raspberry Pi OS is officially supported - your milage with any other Linux distribution or MacOS in production may vary.

The recommended way to install Visiomode is via `pipx` (<https://pypa.github.io/pipx/>).

```bash
pipx install visiomode
```

## Usage

To launch Visiomode, open a terminal and run

```bash
visiomode
```

If running over `ssh`, you will need to prepend `DISPLAY=:0` to the `visiomode` command to run the behaviour window on the primary display.

```bash
DISPLAY=:0 visiomode
```

This will launch the behaviour window (what the animal sees). The web interface can be accessed from any machine connected on the same network as the Raspberry Pi running Visiomode at `http://<YOUR-PI-HOSTNAME>.local:5000`, where `<YOUR-PI-HOSTNAME>` is the hostname of your Raspberry Pi. If you're unsure on what this is, run `hostname` in a terminal window.


## Upgrading

Use `pipx` to upgrade visiomode:

```bash
pipx upgrade visiomode
```

## Contributing

Visiomode is currently closed to PRs, except bugfixes. Please open an issue if you wish to contribute.


## Funders

<p align="left">
  <img width="250" src="./resources/sidb.jpg"  alt="logo"/>
</p>

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "visiomode",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "behaviour, neuroscience, rodent, touchscreen",
    "author": null,
    "author_email": "Constantinos Eleftheriou <Constantinos.Eleftheriou@ed.ac.uk>",
    "download_url": "https://files.pythonhosted.org/packages/db/85/46b10da55ca5bcb09fcde34d03e1cbea48c6e14ac869e98ae5049f5ea347/visiomode-0.6.0.tar.gz",
    "platform": null,
    "description": "![https://www.visiomode.org](./resources/banner.png)\n\n---\n\n [![Build Status](https://github.com/celefthe/visiomode/workflows/build/badge.svg)](https://github.com/celefthe/visiomode/actions)\n[![codecov](https://codecov.io/gh/celefthe/visiomode/branch/master/graph/badge.svg?token=1O1WDTTHOH)](https://codecov.io/gh/celefthe/visiomode)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n\nVisiomode is an open-source platform for rodent touchscreen-based visuomotor tasks. It has been designed to promote the use of touchscreens as an accessible option for implementing a variety of visual task paradigms, with low-cost and ease-of-use as a priority. Visiomode is implemented on the popular Raspberry Pi computer, and provides the user with an intuitive web interface to design and manage experiments. It can be deployed as a stand-alone cognitive testing solution in both freely-moving and head-restrained environments.\n\n\n## Installation\n\n\n### Raspberry Pi OS (recommended)\n\nThe recommended way to install Visiomode is by using `pipx` (<https://pypa.github.io/pipx/>). `pipx` will create an isolated python environment from which Visiomode will run, leaving the system python alone. This is the recommended way to install Visiomode, as it will not interfere with any other python packages you may have installed on your system.\n\nFirst, make sure that your Raspberry Pi OS is up-to-date.\n\n```bash\nsudo apt update && sudo apt upgrade\n```\n\nVisiomode runs on SDL 2.0. To make sure all system dependencies are present, run\n\n```bash\nsudo apt install libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 libsdl2-ttf-2.0-0\n```\n\nInstall `pipx` using\n\n```bash\nsudo apt install pipx\n```\n\nAnd finally, install Visiomode using `pipx`:\n\n```bash\npipx install visiomode\n```\n\n\n### Linux / MacOS\n\nWhile Visiomode primarily targets the Raspberry Pi OS, it can be installed on any Linux or MacOS machine, which can be useful for trying out the software before deployment, or for testing. Please note that only the Raspberry Pi OS is officially supported - your milage with any other Linux distribution or MacOS in production may vary.\n\nThe recommended way to install Visiomode is via `pipx` (<https://pypa.github.io/pipx/>).\n\n```bash\npipx install visiomode\n```\n\n## Usage\n\nTo launch Visiomode, open a terminal and run\n\n```bash\nvisiomode\n```\n\nIf running over `ssh`, you will need to prepend `DISPLAY=:0` to the `visiomode` command to run the behaviour window on the primary display.\n\n```bash\nDISPLAY=:0 visiomode\n```\n\nThis will launch the behaviour window (what the animal sees). The web interface can be accessed from any machine connected on the same network as the Raspberry Pi running Visiomode at `http://<YOUR-PI-HOSTNAME>.local:5000`, where `<YOUR-PI-HOSTNAME>` is the hostname of your Raspberry Pi. If you're unsure on what this is, run `hostname` in a terminal window.\n\n\n## Upgrading\n\nUse `pipx` to upgrade visiomode:\n\n```bash\npipx upgrade visiomode\n```\n\n## Contributing\n\nVisiomode is currently closed to PRs, except bugfixes. Please open an issue if you wish to contribute.\n\n\n## Funders\n\n<p align=\"left\">\n  <img width=\"250\" src=\"./resources/sidb.jpg\"  alt=\"logo\"/>\n</p>\n",
    "bugtrack_url": null,
    "license": "MIT License   Copyright (c) 2019 Constantinos Eleftheriou   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.",
    "summary": "An open-source platform for touchscreen-based visuomotor tasks in rodents.",
    "version": "0.6.0",
    "project_urls": {
        "Documentation": "https:/docs.visiomode.org",
        "Issues": "https://github.com/DuguidLab/visiomode/issues",
        "Source": "https://github.com/DuguidLab/visiomode",
        "Website": "https://www.visiomode.org"
    },
    "split_keywords": [
        "behaviour",
        " neuroscience",
        " rodent",
        " touchscreen"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "675c9a93843dbf1b11443e7e0c529ee04ddd8c597b31b077b6e33dfb87aca91a",
                "md5": "0d694a6f4d56148c1bf4c0790c9c0b0f",
                "sha256": "a170dc1504a7561aa75a2b7a4b587ccfdef78726933e6ad89b5ed10fe55e0231"
            },
            "downloads": -1,
            "filename": "visiomode-0.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0d694a6f4d56148c1bf4c0790c9c0b0f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 1695795,
            "upload_time": "2024-08-29T12:45:41",
            "upload_time_iso_8601": "2024-08-29T12:45:41.263955Z",
            "url": "https://files.pythonhosted.org/packages/67/5c/9a93843dbf1b11443e7e0c529ee04ddd8c597b31b077b6e33dfb87aca91a/visiomode-0.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db8546b10da55ca5bcb09fcde34d03e1cbea48c6e14ac869e98ae5049f5ea347",
                "md5": "209900add301042cdab06578ecb1f24d",
                "sha256": "4d22310c363e2b0e17ea936003f1617697d9b63758d68b4fb08cc27441ef6d53"
            },
            "downloads": -1,
            "filename": "visiomode-0.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "209900add301042cdab06578ecb1f24d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 6885256,
            "upload_time": "2024-08-29T12:45:43",
            "upload_time_iso_8601": "2024-08-29T12:45:43.104350Z",
            "url": "https://files.pythonhosted.org/packages/db/85/46b10da55ca5bcb09fcde34d03e1cbea48c6e14ac869e98ae5049f5ea347/visiomode-0.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-29 12:45:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DuguidLab",
    "github_project": "visiomode",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "visiomode"
}
        
Elapsed time: 0.30281s