Skip to main content

Core API for acquiring, processing, visualizing, and storing sensor data in real-time

Project description

sensor_core

A Python-based package for the acquisition, digital signal processing, plotting, and storage of sensor data in realtime. Please see fastplotlib, developed by Kushal Kolar, to learn more about the plotting library we primarily use.

Key Features

1.) Custom Serial Acquisition - Users can write and pass their own acquisition handler into the sensor_core pipeline. Refer to the custom serial handler notebook.

2.) Digital Signal Processing Integration - sensor_core has a DSPManager hook enabling custom or predefined DSP algorithms to be applied prior to visualization without affecting the underlying datastream. Refer to the DSP notebok.

3.) High-Speed Visualization - using fastplotlib, we can reliably visualize 2- and 3-D data at high speed. We have thus far tested only in Jupyter Notebooks. Refer to the line and image notebooks for visualization examples.

4.) High-Bandwidth Storage - sensor_core creates temporary .bin files to stream data rapidly to before offloading to a sqlite file, enabling stable long term storage while imposing minimal delay in the real-time processing pipeline. Refer to the line and image notebooks for storage examples.

Developer Installation Instructions

select/cd into directory you want to install sensor_core

git clone https://github.com/BailabUNC/MABOS_core  
cd MABOS_core/  
pip install -r requirements.txt  
pip install -e .

Acquiring, Plotting, and Saving Data in Real-Time

The following data was captured by MABOS: a proprietary biosensor we developed.

https://github.com/BailabUNC/MABOS_core/assets/96029511/cbcf4896-62dc-4e1d-8ed4-9be6ac47196a

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

sensor_pipeline-1.0.0.tar.gz (36.6 kB view details)

Uploaded Source

Built Distributions

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

sensor_pipeline-1.0.0-cp313-cp313-win_amd64.whl (124.7 kB view details)

Uploaded CPython 3.13Windows x86-64

sensor_pipeline-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sensor_pipeline-1.0.0-cp313-cp313-macosx_11_0_arm64.whl (130.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sensor_pipeline-1.0.0-cp312-cp312-win_amd64.whl (124.7 kB view details)

Uploaded CPython 3.12Windows x86-64

sensor_pipeline-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sensor_pipeline-1.0.0-cp312-cp312-macosx_11_0_arm64.whl (130.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sensor_pipeline-1.0.0-cp311-cp311-win_amd64.whl (124.0 kB view details)

Uploaded CPython 3.11Windows x86-64

sensor_pipeline-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (171.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sensor_pipeline-1.0.0-cp311-cp311-macosx_11_0_arm64.whl (129.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

sensor_pipeline-1.0.0-cp310-cp310-win_amd64.whl (123.0 kB view details)

Uploaded CPython 3.10Windows x86-64

sensor_pipeline-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (170.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sensor_pipeline-1.0.0-cp310-cp310-macosx_11_0_arm64.whl (128.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file sensor_pipeline-1.0.0.tar.gz.

File metadata

  • Download URL: sensor_pipeline-1.0.0.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sensor_pipeline-1.0.0.tar.gz
Algorithm Hash digest
SHA256 baf58ea837af5758a0ca67321d425d029503c222a26fbe213d66631136ff25a7
MD5 e6b89e1bfa244b41567e9aa477d7f734
BLAKE2b-256 6bdb05d61417889d8c135e727e1c03e789f23850df6c67edb89e46ac11501b2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0.tar.gz:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b2b2d3effb32d311f56c6818b3c1a3b0ff6a2bec2d83f676ecb91278c550f9e7
MD5 6af4613ad6b3c03e61d5c24042a56f27
BLAKE2b-256 dc23129677ce497145bdfa75be2e3a5ccedac1ca9aad9edd70db7058e18ac0f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp313-cp313-win_amd64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6bfe8ae8922705be7c00385c12d78e10ccf2b7a02dc981d58ef38e69b8cb703
MD5 b44995405e953ede8a8240e53654a080
BLAKE2b-256 6b2e7feff0a77f9588ca7f04f6898c0b725b5b4b89a2d0f471156f08b247b67b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f255c3f9d5d4d2b6f5fe0b463bb51345232d67c6a2119238f627462a852e84a5
MD5 34641dddd74a58bfa35911c74a76ba10
BLAKE2b-256 095143aabbe9e80ae01d8727f7943acc2d54d69199fbd27a3ebcec606264d47d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bcdb51162a2dc5191b75d56ea52c9adb46749b2f5c80ca46a54750c428cdb2d8
MD5 0da90859a84e36d9f0274d73c399baf2
BLAKE2b-256 fe05fdd0890e7d0bdd45851a00f71cb4f45629e43bb82d3360b16bdf4198ea38

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp312-cp312-win_amd64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35da18ba577fdd9e13740d8ccadf9ebb99f97726bbd7ffea08ac164ca0b286f7
MD5 b4815d844e55bbe4d87dd6c1797227b3
BLAKE2b-256 67cd19afcd334c1bedadae0c0918cd469926d905ddc25cec6872552f116bf30c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5e2e884342593d62b60d0c74836d16a115666bd6eed9a5902e3d22b64115776
MD5 710eff852165e31bd6754c90e5de0897
BLAKE2b-256 b8c048e59b3b5fe3b25731188417975a6cffc776aef5b147b63061c47c65040b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fb98fe9367d72620147bb8cb27bc1759783003750633952a235b4b03e5e276d7
MD5 c6b347c35c0878859b725cd8456659f9
BLAKE2b-256 b9b711df65b141f8df7b9d6f56c19dcd27c0bcd75db6ca907ec8023f522eef6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp311-cp311-win_amd64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf12618dad58527cd1b66497da10b08ec4f708767b307dd28364a2f68834983f
MD5 deb728bb171657ca9bbf4c40e41103a8
BLAKE2b-256 05d960ed3aca4d74ba1a932f36e4d68433bf733421b854f93e2aa59333a36bd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b08503bfb67fdacccff5c9b269d633fc77cab74d069f967e0519e45c61c50e95
MD5 009c5f47796e81d3e2d3c94decba303c
BLAKE2b-256 e3a4c25f726f6255ff44ae7a44525759ce641430503c3e6169e5c7658c2e3dea

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b641fb1351165df61e25457b5567dcba60c1a2e9f026d58bc1ee0ff36603a522
MD5 ebff2ffd826a723414340513abbbb880
BLAKE2b-256 0b18ab7e04a641d71b8e9baec82bdd9ba2345c8c890b6868dd102b05b82f5c72

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp310-cp310-win_amd64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d7a726318bf0d96988cefe5344821a396591f8b470497980ca99af1bd8989e5
MD5 15694ef85eddac3a65d983c42fdcd173
BLAKE2b-256 f9d1f02df83e3477f6f32143fd601dcd92da98b957b66077ef08024c8948a495

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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

File details

Details for the file sensor_pipeline-1.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sensor_pipeline-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c86d27837493f415f923309a17e300d5ee48707d82eac29cd2eb2294a098d682
MD5 9385e050ab57c8b78062176587ab92b7
BLAKE2b-256 c0372f5fb7ed611e776cb095f6deca0ff9306ec628c4a7aea82bd74e208124fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sensor_pipeline-1.0.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: pypi.yml on BailabUNC/sensor_core

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