Skip to main content

Reader utilities for BrightEyes MCS HDF5 files.

Project description

BrightEyes-MCS-Reader

Reader-only utilities for BrightEyes MCS HDF5 files.

This package contains the current schema reader in

  • brighteyes_mcs_reader.reader for the h5 scheme > 0.0.6
  • the legacy compatibility helpers in brighteyes_mcs_reader.reader_legacy for the pure raw output of BrightEyes-MCS (h5 scheme == 0.0.2).

Install

pip install brighteyes-mcs-reader

Usage

from brighteyes_mcs_reader import list_datasets, read_signal

for info in list_datasets("measurement.h5"):
    print(info.path, info.kind, info.shape)

signal = read_signal("measurement.h5", time=0, depth=0, channel="sum")
print(signal.data.shape, signal.dims)

Legacy files can be loaded with:

from brighteyes_mcs_reader import reader_legacy

data, metadata = reader_legacy.load("legacy_measurement.h5")

Calibration, output building, conversion, alignment, and plotting helpers have moved to BrightEyes-MCS-DataPrep.

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

brighteyes_mcs_reader-0.1.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

brighteyes_mcs_reader-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file brighteyes_mcs_reader-0.1.0.tar.gz.

File metadata

  • Download URL: brighteyes_mcs_reader-0.1.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for brighteyes_mcs_reader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67e8615e68917b162a1aab31a747f91d908577ccf89c52d572480b2e809999ca
MD5 c08e7154e4dcec288e68b029082478b1
BLAKE2b-256 6a37d909e8fba5045d290f377be9182afa42e0add6cb0462a2d2056af5112f4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for brighteyes_mcs_reader-0.1.0.tar.gz:

Publisher: release.yml on VicidominiLab/BrightEyes-MCS-Reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file brighteyes_mcs_reader-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for brighteyes_mcs_reader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5b2a6035a82f5f128b3072e80a1ba5863a9865d814d0d96f0b813124eb3f92
MD5 0a990990bca8378d68f68bda3bec384a
BLAKE2b-256 5cacbd33433116c074cb55cd78330d56caa55370e70def464d896bbac05cc6d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for brighteyes_mcs_reader-0.1.0-py3-none-any.whl:

Publisher: release.yml on VicidominiLab/BrightEyes-MCS-Reader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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