Giter Site home page Giter Site logo

jranaraki / jaeger_analysis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from walkabillylab/jaeger_analysis

0.0 0.0 0.0 0 B

Code to clean data from Jaeger Metabolic cart based on the paper "Methods used to process data from indirect calorimetry and their application to V02 max" Robert A Robergs and Angus F Burnett. Journal of Exercise Physiology. 6(2), 2003. https://www.asep.org/asep/asep/Robergs3.pdf

Home Page: http://individual.utoronto.ca/jrahimipour/

R 100.00%
jaeger-metabolic

jaeger_analysis's Introduction

Authors

Introduction

Code to clean data from Jaeger Oxycon Pro metabolic cart based on the paper "Methods Used to Process Data from Indirect Calorimetry and Their Application to VO2MAX" Robert A Robergs and Angus F Burnett. Journal of Exercise Physiology. 6(2), 2003.

Preliminaries

Place the code next to the participants folder which contain a file called timing.csv and a CSV data file generated by Jaeger.

  • data
    • Jaeger
      • 301
        • timing.csv
        • JaegerDataFile.csv
      • 302
        • timing.csv
        • JaegerDataFile.csv
      • ...
    • intervals.csv

The timing.csv should contain the following columns:

  • Task name stores the task done by participant
  • Start time is start date and time (in ####-##-## ##:##:## format)
  • End time is end date and time (in ####-##-## ##:##:## format)

The data folder also contains a file called intervals.csv which stores information about each participants as follows:

  • herox stores participants alias names
  • kit is the package number
  • phone is phone id
  • watch is Apple watch id
  • fitbit is Fitbit id
  • geneactiv is GENEActiv id
  • snesedoc is SenseDoc id
  • start is start date and time (in ####-##-## ##:##:## format)
  • end is end date and time (in ####-##-## ##:##:## format)
  • userid is a unique id for each participant
  • wrist is 1 if Apple Watch and GENEActiv are on the same wrist, otherwise 0
  • age, gender, weight and height are demographic data
  • street, city, postal are address information for each participant.

Note: This file should be kept updated throughout the experiment.

Steps to run the code as in the follows:

1. Modifying required variables

  • Modify path and intrPath, the Jaeger participants folder and intervals.csv, respectively
  • Change the uid (e.g. 301) for choose which participant data should be processed
  • Modify the timeZone variable to your local timezone

Info: More information on setting the timezone can be found here.

2. Run the code

Select all the code and run it using Ctrl + Enter.

3. Results

Based on the interpolation and spline cure fitting six plots are generated. For VO2, VCO2 and RER the generated curve and Bland-Altman figures are plotted and saved in each participant folder. Also, a CSV file to check the validity of the collected Jaeger data is generated and placed next to the plots.

jaeger_analysis's People

Contributors

jranaraki avatar walkabilly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.