FlowManager Struct implement core logic for analyzing biometric inputs such as BPM and in the future Accelerometer data and returning derivative data such as HRV, accelleration speed, sleep level etc. and events such as anomalies in the data flow and alarm for seizure detection.

This library is designed in order to be used in both real-time and batch scenarios.

In real-time mode the libaray could be used directly by the watchOS and/or iOS application for processing in real time the flow of biometric data coming from the Apple Watch sensors or other remote sensors connected to the watchOS of iOS app over bluetooth.

In batch mode the library could be used again from iOS/watchOS app but also from command line tool or web services API to re-play entire pre-recorded session of data.

Open data structures

The library use the following data structures for defining inputs the parameter ranges such as normal and alarm BPM levels and in general to initialize the main FlowManager struct.