Skip to content
Ability

ReferenceAPI overview

API overview

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ability is broken into four modules: core, processing, visualization, and features.

Download

make_paths is the beginning of the processing pipeline. make_sample_data writes files to the raw directory. See the Core Module.

Quickstart

Integer posuere erat a ante. Six stages: notch, bandpass, rectifier, artefact screening, fill, and smooth. See the Processing Module.

Next steps

The plot_dashboard function loads signal files so stages can be compared. See the Visualization Module.

Overview

extract_features writes features.csv. See the Features Module.

Open a session

Lorem ipsum dolor sit amet, consectetur adipiscing elit. These samples show the usual order: prepare, start, read, stop.

Open a session

import ability as ab

session = ab.Session(device_id=0)
session.prepare()
print(session.is_ready())

Build sample paths

import ability as ab

session = ab.Session(device_id=0)
session.prepare()
session.start()
block = session.read(n_samples=256)
session.stop()
print(block.shape)

Markers and files

Sed posuere consectetur est at lobortis. Curabitur blandit tempus porttitor.

Insert markers

import ability as ab

paths = ab.make_paths(root=".", create=True)
print(paths["raw"])
print(paths["clean"])