Giter VIP home page Giter VIP logo

behaviouranalysis's Introduction

BehaviourAnalysis

This program was created to manage and analyze data generated by the behavioural assays performed in the Chatzigeorgiou lab, using the custom imMobilize acquisition and experimental protocol system, and the toxtrac tracking software.

Getting started

Requires python 3.6+

Download

Clone the repository, or download and extract the repository.

git clone https://github.com/DanielDondorp/BehaviourAnalysis.git`

Enter the project directory

cd BehaviourAnalysis
Recommended: set up a python virtual environment
python3 -m venv BehaviourAnalysisEnv
source ./BehaviourAnalysisEnv/bin/activate

Install requirements

pip install -r requirements.txt

run

python behaviour_analysis

behaviouranalysis's People

Contributors

danieldondorp avatar kushalkolar avatar

Watchers

 avatar

behaviouranalysis's Issues

fix path for common dataframe in linux branch

The common dataframe is now dumped as dataframes/common_data.pickle in the project folder, while it should be in the dataframes folder. This is a path formatting issue in the linux branch.

Suggestion on handling of stimuli-related parameters and metadata

I suggest reorganizing stimuli-related columns for easy grouping and comparisons across different stimuli groups:
-Current ‘stimuli’ column should be renamed to ‘number_of_stimuli’
-New column called ‘stimuli’ or ‘stimuli class’ or similar should be made, that reads ‘none’ for the data without stimulation, and for data with light stimuli the class should be extracted and labeled as ‘green’, ‘red’, ‘blue’, ‘white’ for simple single-stimuli-single-color experiments. Label ‘mix’/’complex’ or similar for complex and/or wrong stimuli (i.e. more than 1 stimuli and/or color) for now. In the future you can also create new vibration classes, combined classes etc.
-If future experiments have stimuli of differing temporal composition, this can be added as a ‘stimuli_sequence’ column to sort your 1min stimuli from your 5-times-5seconds stimuli of same colour/vibration intensity etc.
-The deltas can then be reduced to just ‘delta_(ON/OFF)_(name of column)’ and compared between different stimuli settings (+ in the case of several stimuli in same experiment maybe add counter to deltas?)

New parameters request

For parameters with values centred around 0 (e.g. accelerations) a variance metaparameter would be very useful (either variance or standard deviation), since that is more likely to vary between groups than range and mean values.
We also need additional parameters for turn values. Calculate mean_ and var_turns as now, but only counting in values at swimming speeds (>500).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.