Giter Site home page Giter Site logo

spex's Introduction

SPEX

Stay Point EXtractor

usage: spex.py [-h] --action {extract_points,extract_metrics,extract_both} [-t [T]] [-d [{haversine,euclidean}]] [-r [R]] filename output_location

SPEX: Stay Point EXtractor.

positional arguments: filename Trace file name output_location Output folder location

optional arguments: -h, --help show this help message and exit --action {extract_points,extract_metrics,extract_both} Choose what action to do. -t [T] Time threshold (in minutes) -d [{haversine,euclidean}] Distance function (haversine or euclidean) -r [R] Radius threshold (in meters)

Usage examples

python spex.py my_trace.csv my_output_folder/ --action extract_both

  • (Extract the stay points and the metrics from the my_trace.csv file and store the stay points in the my_output_folder, using the default values of time threshold (30 minutes), radius threshold (500 meters) and distance function (haversine)

python spex.py my_trace.csv my_output_folder/ --action extract_metrics

  • (Extract only the metrics)

python spex.py my_trace.csv my_output_folder/ --action extract_points -t 60 -d euclidean -r 1000

  • (Extracts only the stay points and sets specific values for time, radius and distance function)

spex's People

Contributors

augdomingues avatar

Watchers

James Cloos avatar  avatar

Forkers

kukuuuuu

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.