behapy: A behavioural neuroscience analysis package for Python

Title

behapy: A behavioural neuroscience analysis package for Python

Leaders

Chris Nolan (Mattermost: @cnolan | Mastodon: @cnolan@fediscience.org)

Collaborators

Thomas Burton Karly Turner Phil Jean-Richard Dit Bressel Chelsea Goulton J Bertran-Gonzalez Lydia Barnes Kelly Garner

Brainhack Global 2023 Event

Brainhack Australasia

Project Description

Studies using optic fibres to record real-time fluorescent biosensors in-vivo are now commonplace, yet despite an increasing literature on best practices for analysing such data, there is a surprising lack of fit-for-purpose API-level tooling. This project is a continuing effort to fill this gap by providing flexible Python-based implementations of common normalisation and artefact correction procedures for fluorescent biosensors, along with useful event-based analyses.

The goals of this project will extend beyond Brainhack Global 2023, but all are in an effort to create an open-source API and workbench for analysing fibre photometry data in a behavioural neuroscience context. Since Brainhack Global 2022, we have created a basic artefact-rejection workbench, a preprocessing stage and implemented simple linear regression for event-level analysis. This year the goal is to create a method to benchmark normalisation methods by creating data simulation functionality under different assumptions about the sources of recording noise. We are also aiming to outline the steps to including a more comprehensive functional linear mixed effects modelling analysis for event-based analysis, generalise the API to better handle purely behavioural (non-photometry) data, and generally improve the usability of the package.

https://github.com/crnolan/behapy

Goals for Brainhack Global

Good first issues

  1. Check and update installation instructions for behapy package.
  2. Document end-user experience for running existing fibre preprocessing workbench on sample data.
  3. Establish a configuration format / tool for importing structured MedPC files.
  4. Structure the pre-processing interface so as to allow the traces to scale, and interactively compare / select different but reasonable normalisation methods.

Communication channels

https://mattermost.brainhack.org/brainhack/channels/behapy

Skills

Primarily, some knowledge of fluorescent biosensor normalisation and analysis procedures will be useful. We’ll be predominantly working in Python, but there will be tasks for all levels of Python competency.

Bonus useful skills:

Onboarding documentation

No response

What will participants learn?

Data to use

BYO fibre & behavioural data - we’ll create a repository of useful examples.

Number of collaborators

more

Credit to collaborators

Project contributors will be listed on the project README.

Image

Leave this text if you don’t have an image yet.

Type

data_management, documentation, method_development, pipeline_development, visualization

Development status

2_releases_existing

Topic

statistical_modelling, systems_neuroscience, other

Tools

BIDS, Jupyter

Programming language

Python

Modalities

behavioral, other

Git skills

0_no_git_skills, 1_commit_push, 2_branches_PRs

Anything else?

Topic: behavioural neuroscience Modalities: fibre photometry

Things to do after the project is submitted and ready to review.


Date
Jan 1, 0001 12:00 AM