Skip to main content

BeForData: Python data structures for handling behavioural force data.

Project description

Behavioural Force Data (BeForData)

: Data structures for handling behavioural force data

This package provides core classes and utilities for loading, processing, and analysing behavioural force data, such as those collected in experimental psychology or neuroscience. It offers a structured approach to manage epochs and records of force measurements, enabling efficient data manipulation and analysis.

Features

  • Flexible loading and saving of force data in common formats (e.g., CSV, XDF).
  • Efficient slicing and indexing of epochs and records for batch analysis.
  • Metadata management for experimental context, including event markers and annotations.
  • Utilities for preprocessing, such as filtering and baseline correction.
  • Integration with scientific Python libraries (NumPy, pandas) for advanced analysis.

Repository: https://lindemann09.github.io/befordata/

(c) Oliver Lindemann

GitHub license PyPI

Main Components

  • BeForEpochs A container class for managing multiple epochs of force data. Each epoch represents a segment of continuous force measurements, typically corresponding to a trial or experimental condition. BeForEpochs provides methods for slicing, indexing, and batch-processing epochs, as well as for loading and saving epoch data from various formats.

  • BeForRecord Represents a single continuous recording of force data, including metadata such as sampling rate, channel information, and experimental annotations. BeForRecord supports data cleaning, resampling, and extraction of epochs, and provides convenient access to raw and processed force signals.

Typical Workflow

  1. Load raw force data into a BeForRecord object.
  2. Preprocess and annotate the data as needed.
  3. Segment the data into epochs using event markers, creating a BeForEpochs object.

Install via pip

pip install befordata

Julia

A Julia implementation of BeForData is available as a beta release.

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

befordata-0.3.6.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

befordata-0.3.6-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file befordata-0.3.6.tar.gz.

File metadata

  • Download URL: befordata-0.3.6.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.5

File hashes

Hashes for befordata-0.3.6.tar.gz
Algorithm Hash digest
SHA256 b110eb93157a721c2393979a5479d0e2c477c016c604108831cac416f29fbc36
MD5 281075e1fb61978325c4bda78f63ace5
BLAKE2b-256 87b51d471fad2686f46df90d54a78741ba6afff41881452fb4e7454562d1ddde

See more details on using hashes here.

File details

Details for the file befordata-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: befordata-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.5

File hashes

Hashes for befordata-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 298c13d4c88bfeb510efe1109813ea5c8119d90994c622cfcdc7f188e27d4be0
MD5 f19185ec87275afbcd64642263ad0b08
BLAKE2b-256 7a1f8f476c301b37c685027ee13bf954e409884580f71cf26e06831e4bda9ab5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page