Code Monkey home page Code Monkey logo

gpx_analytics's Introduction

gpx_analytics

License: MIT

This code is intended to perform the analysis of Geospatial GPS signals for outdoor movement tracking. Formats supported: GPX, and CSV.

Simple plots:

  • RAW_VELOCITY : Calculated from the Lat-Long measurements

  • FILTERED_PACE : Calculated pace from the Filtered Velocity

  • ELEVATION : Elevation curve provided by measurements

  • HEART_RATE_CURVE : From Measurements

  • HR_PACE_SCATTER : Scatter plot of heart rate and pace

Algorithms and transformations:

  • FILTERED_VELOCITY : Same as raw velocity, but with an LPF smoothing

  • LOG_POWER_SPECTRUM : Full file LPS, reveals periodicity (and hence measurment issues)

  • SPECTROGRAM : Shows temporal view of spectral components of velocity: low changing, medium changing, high changing

  • GAP : Experimental calculation of Grade Adjusted Pace

Formats supported

  • GPX from Strava

  • CSV from Garmin (fit) and Tom Tom

To convert from fit to csv use fitdump.py

Wrapper scripts:

Single file analysis, with analysis pipeline:

source config_me.sh

python3 src/v00.py <gpx.file_to_be_proccessed> "<PIPE_DELIMITED_ANALYSIS_STRING>"

Please choose up to 5 options.

Two windows will open: one with the calculated versus device measurement, and the other with the specified analysis.

Joining 2 files:

'' source config_me.sh

python3 src/v01.py < file_1 > < file_2 > ''

Output (joined file) goes to stdout.

Module

To configure Pytonpath:

source configure_me.sh

Example

python3 v00.py my_file.csv "RAW_VELOCITY|FILTERED_PACE|HR_PACE"

Module and package dependencies: basic Python packages (math, operator, numpy, seaborn, pandas etc.) See all import statements.

Runs on Python 3.

Wiki

See the Wiki in the repo for images:

https://github.com/JuanManuelHuerta/gpx_analytics/wiki

gpx_analytics's People

Contributors

juanmanuelhuerta avatar

Stargazers

 avatar

Watchers

 avatar  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.