BATCH ANALYSIS TOOL FOR E4 DATA

Slides:



Advertisements
Similar presentations
Managing References : Mendeley
Advertisements

Configuration management
Bibliometrics Toolkit Google Scholar (GS) is one of three central tools (the others being ISI and Scopus) used to generate bibliometrics for researchers.
en-us/sharepoint/fp
1 ONESEARCH/ WRITING A THESIS STATEMENT ENGLISH 115 Hudson Valley Community College Marvin Library Learning Commons.
IS4401 Project Technology Issues. Introduction This seminar covers Databases When to use a Database What Database to use Development Tools Visual Studio.
Instructional Technology & Design Office or Zotero & Mendeley Workshop Presented by Kate Rojas.
Swami NatarajanJuly 14, 2015 RIT Software Engineering Reliability: Introduction.
Managing references : Mendeley
Matlab Software To Do Analyses as in Marron’s Talks Matlab Available from UNC Site License Download Software: Google “Marron Software”
RF Drive Test (Testing) Engr. Mehran Mamonai. Introduction Every good RF design, after its implantation should be evaluated. There are few ways to do.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
Lab 1: The Stroop Effect (1935) Measuring interference effects
Bibliometric Analysis with Sci2: Choose Your Own Adventure Laura Ridenour School of Library and Information Science, Indiana University.
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Steve Dower Software Engineer Python Tools for Visual Studio.
How to Read Research Papers? Xiao Qin Department of Computer Science and Software Engineering Auburn University
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Introduction to MATLAB adapted from Dr. Rolf Lakaemper.
This document gives one example of how one might be able to “fix” a meteorological file, if one finds that there may be problems with the file. There are.
1 Discussion of “Computer- Assisted Tools for Auditing XBRL- Related Documents” Symposium on Information Integrity & Information Systems Assurance David.
MEASURE : Measurement System Analysis
DATA MINING Pandas. Python Data Analysis Library A library for data analysis of (mostly) tabular data Gives capabilities similar to Excel and SQL but.
ROBOTIC ARM 2 Wilmer Arellano © Hardware  Next slide shows sensor connection to analog pin 0 and Motor 1 connection. Lecture is licensed under.
EFT-1 Orion Radiation Measurement Results These results came from the following paper: Battery-operated Independent Radiation Detector Data Report from.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Mouse Specifics, Inc. ♥ Boston ♥ USA. …with the Non-invasive Fast Easy.
Animals Including Humans
Heart Rate Variability (HRV) analysis
How to get started with RefWorks
Provide instruction.
Formulating Needs and Goals
WORKSHOP 1 CUSTOM TIRE SUBROUTINE
A very brief introduction to R
A Simple Introduction to Git: a distributed version-control system
Data Pipeline: Finance
A Closer Look at CODAR HF Radar Spectra
Getting Started with R.
How to install VisualWorks?
TFS Database Import Service for Visual Studio Team Services
How to get started with RefWorks
Building Analytics At Scale With USQL and C#
Deploying and Configuring SSIS Packages
Use of ICT in Education for Online and Blended Learning
MEASURE : Measurement System Analysis
Use of ICT in Education for Online and Blended Learning
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Animals Including Humans
Exercise physiology Preparation & training methods training intensity
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Finding Answers through Data Collection
Module 6: Preparing for RDA ...
34th Annual International Conference of the IEEE EMBS
How to Read Research Papers?
Dr. Cleveland, This file contents 4 tracks poster slides
This is where R scripts will load
Tutorial for WEKA Heejun Kim June 19, 2018.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
By: LT ‘Chuck’ Williams
This is where R scripts will load
This is where R scripts will load
Travel Expenses Tool Instruction Manual
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
The Troubleshooting theory
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Installations for Course
Research Methods: Instrument Accuracy
PADLA: A Dynamic Log Level Adapter Using Online Phase Detection
Installations for Course
Citing and Referencing 2 minute basics
Presentation transcript:

BATCH ANALYSIS TOOL FOR E4 DATA Peter de Looff Matthijs Noordzij (Radboud Universiteit/De Borg) (Universiteit Twente)

E4 DATA – EMPATICA WEBSITE

ANOTHER EXAMPLE

WATCH OUT!

THESE FIGURES SCALE ENORMOUSLY THESE FIGURES SCALE ENORMOUSLY! (You cannot avoid doing proper signal analysis and parameter extraction yourself somehow!)

E4 DATA ANALYSIS OF DOWNLOADED .CSV FILES: From the Empatica website: “For systematic Skin Conductance analysis from our EDA files we recommend LEDALAB (for MatLab). You may need to adjust skin conductance response (SCR) thresholds to account for lower magnitudes in typical wrist data. For heart rate variability (HRV) analysis we recommend Kubios (also for MatLab). Kubios takes in instantaneous heart rate data and allows you to correct errant beats and conduct HRV analysis respectively. Kubios allows you to overlay our IBI files on the BVP data to assist in error correction.”

E4 DATA ANALYSIS - CONTINUED ‘If you prefer there are a number of signal processing toolkits available in the free software domain. Python's SciPy libraries have outstanding signal processing and data visualization capabilities.’ New option (in python and web-based): http://eda-explorer.media.mit.edu/

EDA EXPLORER If you use our tool, please cite this article by Sara Taylor and Natasha Jacques. They are responsible for the artifact and peak detection scripts in the tool. In addition, you could also cite the authors of the RHRV package (later in this presentation)

DRAWBACKS OF THE WEB OPTION A lot of clicking – error prone – time intensive Max 6.5 hours? If you want to change one little thing (e.g. treshhold for SCR’s) you have to do everything manually No HR data analysis You are left with large Excel files which require (tricky) further computations to get to a useful report.

NEXT STEPS Allow for batch processing of all data collected by the E4 Batch means that you can re-run your analysis basically with one command Next to speed/ accuracy advantages this also contributes to reproducible research. We use only open source software (no Matlab required): Python and R We rely on EDA-explorer (From MIT) and RHRV (an extensive HR analysis tool in R) We have started out with one use case in mind.

USE CASE One E4 file per day for a client. You could also use sessions instead of days. You want a daily report on the data, where the data is interpreted relative to the “physiological personality” of that client. This means you want to know (for example) whether the physiological values of a particular day could be called unusually high or low given what you already know about what this person typically shows as physiological values.

Batch RHRV package

RHRV Batch-processing HRV is a bit tricky. ECG is the gold-standard. With the Empatica E4, we only have a ppg sensor. The E4 does a good job at only detecting the ‘pure’ inter-beat-interval (IBI-files). It doesn’t mean we can’t use it, it means that we have artefacts, and interpret the results accordingly.

RHRV To get an indication of the amount of artefacts we made an Hrplots file in the directory. With a standard ECG you get reasonably clean data.

RHRV This is an example of a fair amount of artefacts, it represents the time between good detected beats. In an ‘ideal’ resting ECG situation with a HR of 60, all beats would be approximately 1 second apart. As you can see here there are a lot of wrong beats. Up to 400 seconds in the first minutes of the recording. On the next slide is an example of a better measure with the E4. In this case there were more than 400 sec between detected beats. This means that the E4 was not able to get good beat for more than 400 sec

RHRV Here you see that there are less artefacts in comparison with the previous slide. To get a feel for the amount of artefacts we made an hrv.art.index variable in the _datasummary file. The variable contains the amount of beats detected/ the session duration in seconds. So, be careful with interpretation of higher vs lower heart rates. The IBI is shorter there because the HR is higher. For the first plot the hrv.art.index is .23, for the second it is .84. So, more beats are detected in the second plot. In this plot the maximum nr of seconds between two beats is 13 seconds

RHRV RHRV parameters are based on the good beats that are provided by the Empatica algorithm. So, there is variation in the amount of beats used depending on the amount of artefacts.

IMPLEMENTATION – HOW DOES IT WORK? You need to adjust 2 files: batch_edaexplorer_template_v3 and defines_template All the scriptfiles you need must be in one folder.

WHAT DO YOU NEED TO DO THIS YOURSELF? Anaconda 2 R / R studio A number of tweaks additional libraries related to Python (see document) and R: install.packages("RHRV") install.packages("plyr") install.packages("zoo") After the intital set-up phase you only need to place the E4 zipfiles in the correct folder! The initial set-up phase does require you to do a little Python and R (but Google/ stackoverflow are your friend  ).

WHAT DO YOU NEED TO DO THIS YOURSELF? Live demo Show the file structure. Mention what must go in what directory. Explain the defines and batch files. All directories. Explain the r script. Mention the timezone. pythonTroubleshooting Python/R collaboration.