<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>sensors/ on SAFER Documentation</title><link>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/</link><description>Recent content in sensors/ on SAFER Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/index.xml" rel="self" type="application/rss+xml"/><item><title>accelerometer.ts</title><link>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/accelerometer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/accelerometer/</guid><description>&lt;h1 id="purpose"&gt;Purpose&lt;/h1&gt;
&lt;p&gt;This module abstracts accelerometer data collection across iOS and Android, maintaining a rolling in-memory buffer of raw samples suitable for downstream CPM inference. It handles platform-specific sensor APIs, timestamp reliability, unit conversion, and self-throttling diagnostics.&lt;/p&gt;</description></item><item><title>computeCPMFromRecorded.ts</title><link>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/computecpmfromrecorded/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/computecpmfromrecorded/</guid><description>&lt;h1 id="purpose"&gt;Purpose&lt;/h1&gt;
&lt;p&gt;This module computes a Counts Per Minute (CPM) activity value from raw accelerometer samples recorded by the iOS CoreMotion coprocessor. It resamples irregularly-spaced samples to a fixed 30 Hz grid, applies a FIR bandpass filter, integrates the rectified signal, and applies a linear calibration before a final stepwise regression.&lt;/p&gt;</description></item><item><title>sensorRecorder.ts</title><link>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/sensorrecorder/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://safer-capstone.pages.dev/developer-docs/api-reference/sensors/sensorrecorder/</guid><description>&lt;h1 id="purpose"&gt;Purpose&lt;/h1&gt;
&lt;p&gt;This module provides background-safe access to motion data on iOS by reading from the CoreMotion motion coprocessor and the device pedometer. Because coprocessor recording operates independently of app state, this module is the primary data source for CPM computation during background task wakes.&lt;/p&gt;</description></item></channel></rss>