Skip to main content

The BeDSy is a platform for hardware triggering and synchronisation of equipment for laboratory animal behavioural monitoring.

Project description

BeDSy - Behaviour-recording Device Synchroniser

What is it?

The BeDSy (Behaviour-recording Device Synchroniser) is a platform for hardware triggering and synchronisation of equipment for laboratory animal behavioural monitoring.

It consists of two components: this Python package, which interfaces with the BeDsyino, a hardware platform which sends custom trigger signals to animal behaviour-monitoring devices.

How to install?

BeDSy is available on PyPi can be installed with pip:

pip install bedsy
Dependencies
  • pySerial - can be also be installed with pip

History

I (Davor Virag) developed the BeDSy platform with immense help from Paul Mieske and indispensible advice by Pia Kahnau during my stay with them at the German Federal Institute for Risk Assessment (BfR) in September 2023, where I was gracefully hosted by their brilliant PI, Lars Lewejohann, as part of my Short-Term Scientific Mission (STSM) funded by the COST action "Improving biomedical research by automated behaviour monitoring in the animal home-cage - TEATIME" (CA20135).

BeDSy was originally developed to improve video and audio synchronisation between several Basler cameras and the AviSoft UltraSoundGate for Paul's very cool upcoming research project.

Current state

This package is quite simple and seems to work fairly well. I don't have any major plans for it, except for adding sorely needed comments and documentation. It's currently been tested on Windows only, but I think it should work on Linux as well.

For an example (though not very clean) implementation into an existing project, see Basler GUI Updated, a continuation of Niek Andresen's Basler GUI Py project.

The BeDsyino is, however, still cooking. While the code is mostly complete, only a single hand-soldered, protoboard-based prototype has been developed thus far. A modular, extensible hardware platform is currently in the works. For more info, please check that repo.

How does it work

The module provides communication with BeDsyino, but requires the user to handle start/stop messages (i.e. it won't raise an exception if it doesn't receive a stop message after calling the stop_bedsy() method).

TO DO - expand

License

The code is distributed under GPLv3.

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

bedsy-0.2b1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

bedsy-0.2b1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file bedsy-0.2b1.tar.gz.

File metadata

  • Download URL: bedsy-0.2b1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.5

File hashes

Hashes for bedsy-0.2b1.tar.gz
Algorithm Hash digest
SHA256 f5860d56de5828c17f4c512c90ffd76b439fe75d6c872888de6d3fe37e59d727
MD5 95ed12d850f95e61ba26f46f6cbe267d
BLAKE2b-256 6ff848bdab166036bf5a2578073fa08635ffb73611ec298cbfd811eeefa48c9b

See more details on using hashes here.

File details

Details for the file bedsy-0.2b1-py3-none-any.whl.

File metadata

  • Download URL: bedsy-0.2b1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.5

File hashes

Hashes for bedsy-0.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 84e8c436a5fa8ed09d84414fbc8ff85cd808acc0a203b204afeccb5fb9497c88
MD5 0d1afba2694f55c95acb312d04ba73fc
BLAKE2b-256 a5f223e34ba08159850971cc8d0b8012d60a7c49cbf5529f1861cadcac9bd73a

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