= Body Sensor Networks = [[TOC(Other/Summer/2015*, depth=3)]] == Introduction == Biological data is increasingly easy to collect with the development of simpler and cheaper biosensors. This type of data has important implications for the future of healthcare, health monitoring, and physiologically integrated technology. The goal of this project is to develop an integrated platform for the analysis of various types of biological data, which can be used to classify and analyze new data, as well as employ biological data for practical applications ranging from diagnosis to physiologically responsive devices, and more. == Project Overview == In order to accurately classify and analyze biological data, a number of functions are needed. In particular, known characteristic patterns visible in data such as EEG (electroencephalography) or EKG (electrocardiography) must be recognized by the system in order to make reasonable decisions. The recognition of such patterns requires statistical manipulation of the data in order to identify important features. The current focus of this project is to research appropriate transformations that can be applied to data in order to extract key features. These features can then be analyzed by an algorithm trained on datasets exhibiting characteristic patterns to classify novel data. == Data Collection == Data was collected using the OpenBCI open source bioelectric recording platform. === Initial BCI data === Experimental setup: The images below show a general EEG headplot, mapping commonly used electrode locations, as well as a marked-up headplot showing the electrode locations used for collecting the data for this experiment. [[Image(headplot.png)]] [[Image(headplot_mapped.png)]] The colors correspond to electrode colors, which correspond to graphics created by the OpenBCI GUI. Below is a sample image of data collection in the OpenBCI GUI. The black and white ear electrodes (A1 and A2) are ground and reference electrodes for the others. [[Image(openBCIUI.png)]] Electrode locations were chosen for relevance to movement/ motion intention. C3, Cz, and C4 are associated with sensorimotor integration. F3 and F4 are associated with motor planning. These are the central nodes. Fp1 and Fp2 are associated with attention and judgement, while Fz is associated with working memory. Data collected was as follows: 5 samples rest (10 sec each)[[BR]] 10 samples up[[BR]] 10 samples down[[BR]] 10 samples right[[BR]] 10 samples left[[BR]] (up, down, left, right represent direction of imagined motion; each sample includes 3 sec prep and 3 sec imagined movement) == Data Analysis == Data analysis (for EEG/ BCI data) is being done through EEGLAB and BCILAB toolboxes for MATLAB (from the [http://sccn.ucsd.edu/ Scwartz Center for Computational Neuroscience]). Sample data was initially used to create channel spectra maps (and other data visualizations) using the EEGLAB interface. [[Image(Channel Spectra.png)]] == Tools/ Resources == [http://www.cs.waikato.ac.nz/ml/weka/ Weka] [http://www.r-project.org/ The R Project for Statistical Computing] [http://www.arduino.cc/ Arduino] [http://openbci.com/ OpenBCI] [https://www.cooking-hacks.com/documentation/tutorials/ehealth-biometric-sensor-platform-arduino-raspberry-pi-medical Libelium e-Health Sensor Platform] [http://sccn.ucsd.edu/eeglab/ EEGLAB] [http://sccn.ucsd.edu/wiki/BCILAB BCILAB]