cerebralcortex.algorithms.bluetooth package¶
Submodules¶
cerebralcortex.algorithms.bluetooth.encounter module¶
-
bluetooth_encounter
(data, st: datetime.datetime, et: datetime.datetime, distance_threshold=12, n_rows_threshold=8, time_threshold=600, ltime=True)[source]¶ Parameters: - ds – Input Datastream
- st – Start Time the time window in UTC
- et – End Time of time window in UTC
- distance_threshold – Threshold on mean distance per encounter
- n_rows_threshold – No of rows per group/encounter
- time_threshold – Minimum Duration of time per encounter
- epsilon – A simple threshold
- count_threshold – Threshold on count
Returns: A Sparse representation of the Bluetooth Encounter