[home]

openbsl

Biopac Student Lab recordings, without Biopac Student Lab

Physiology labs record ECG, pulse and heart sounds with Biopac’s BSL software, then send you home with files that only BSL opens, on a license that lives in the lab. The analysis the report asks for is simple: select from one R wave to the next and read off Delta T, BPM and peak-to-peak amplitude. The data can still only be read on campus.

openbsl reads the files with the open-source bioread parser, exports them to CSV, and builds a static page that reproduces the part of BSL a lab report needs. You drag across the trace, read the same measurement boxes BSL shows, label the selection, and the lesson’s data report tables fill themselves in. It handles Lessons 5 (ECG), 6 (ECG II: Einthoven’s law and the mean electrical axis), 7 (ECG & pulse), 16 (blood pressure) and 17 (heart sounds).

For Lessons 6 and 16 it also does the analysis itself. openbsl axis measures the QRS waves on Leads I and III and draws the vectorgrams the report asks you to plot with a protractor. openbsl bp finds the Korotkoff sounds on the stethoscope channel and reports the cuff pressure where the microphone heard systolic and diastolic, next to where the person listening pressed the marker.

The demo below runs on synthetic recordings (drag to select, scroll to zoom, Enter to save). Open it full-size.

how it works

The longer write-up, including why automatic wave delineation lost to a human with a mouse, is in the blog post. Code is on GitHub.

← back home