A python based toolkit to download and anlyse data from the Ethoscope hardware system.
Project description
ethoscopy
Head to: https://bookstack.lab.gilest.ro/books/ethoscopy for an in-depth tutorial on how to use ethoscopy
A data-analysis toolbox utilising the python language for use with data collected from 'Ethoscopes', a Drosophila video monitoring system.
For more information on the ethoscope system: https://www.notion.so/The-ethoscope-60952be38787404095aa99be37c42a27
Ethoscopy is made to work alongside this system, working as a post experiment analysis toolkit.
Ethoscopy provides the tools to download experimental data from a remote ftp servers as setup in ethoscope tutorial above. Downloaded data can be curated during the pipeline in a range of ways, all formatted using the pandas data structure.
Further the ethoscopy package provides behavpy a subclassed version of pandas that combines metadata with the data for easy manipulation. Behavpy can be used independently of the Ethoscope system data if following the same structure. Within behavpy there are a range of methods to curate your data and then to generate plots using the plotly plotting package. Additionally, there are methods to analyse bout length, contiguous sleep, and many circadian analysis methods including periodograms.
Within Behavpy is a wrapped version of the python package hmmlearn, a tool for creating hidden markov models. With the update the user can easy train new HMMs from their data and use bult in methods to create graphs analysing the decoded dataset.
-- Update to 1.3.0 --
The latest update now allows the user to choose the colour palette from plotly to be applied to all plotting methods, see the updated tutorial on how to do this. Additionally, the .pivot() method has been changed to .analyse_column() to avoid overwriting the original pandas method. Also, puff_mago and find_motifs analysing functions have been renamed to stimulus_response and stimulus_prior respectively.
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 ethoscopy-1.3.11.tar.gz
.
File metadata
- Download URL: ethoscopy-1.3.11.tar.gz
- Upload date:
- Size: 13.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/6.1.99-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 424b1c44491a61ef1058271058be1fdd6a4c3b14907cbfeb13ac564ee0f9e800 |
|
MD5 | 14dec229081b7e3ca73daa2090441677 |
|
BLAKE2b-256 | eaccd195561e5858b78b1d431bfc8c91895d73d8a9d5d1fc7ecc58f4fb9c674e |
File details
Details for the file ethoscopy-1.3.11-py3-none-any.whl
.
File metadata
- Download URL: ethoscopy-1.3.11-py3-none-any.whl
- Upload date:
- Size: 13.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.4 Linux/6.1.99-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1216cf7264119f685540814a538a991a06737e9904148511cf61f1a9c6696921 |
|
MD5 | 42393a45a27e4436e8bc930c9d85caf7 |
|
BLAKE2b-256 | 19bcf7541765bb27c3df074c89752409e32ceb5e2df24a98ff3f0ba521bd94ab |