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.

Source code: https://github.com/lindemann09/befordata

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

(c) Oliver Lindemann

GitHub license PyPI

Main Components

  • 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.

  • 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.

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.7.tar.gz (15.4 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.7-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for befordata-0.3.7.tar.gz
Algorithm Hash digest
SHA256 16732c42bb4f8b5df3f10ac3da10513692619771a3845e770780f9432a4a93cd
MD5 b773f7f133d50c3a216017409f2146fd
BLAKE2b-256 35c29e7c394d9c60d77e31e5c2c2a7019c330f1db89211616df013bbb76bb944

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for befordata-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7d7f0ef2ad3aa2a08e773c0a8ba0f17eddc5c8a332e55588c5aa5e6a2a365d88
MD5 3743675d309aad0274efa49ef7e3c150
BLAKE2b-256 136d0f1af7c48c8885b6a942159f9f08b0c0744967235e144f20bc0bd54b956f

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