Giter Club home page Giter Club logo

tumtopotimeseries2016's Introduction

TUMTopoTimeSeries2016

This series of Jupyter Notebooks serves as a walkthrough of topological time series analysis. Applications include rhythm analysis in music and periodicity / quasiperiodicity quantification in video.

This started off as a tutorial for the summer workshop "Mathematical Methods for High-Dimensional Data Analysis." Now it is used more generally to support pedagogical activities to support the NSF big data grant DKA-1447491, as well as assisting with the ICERM Summer Undergraduate Program.

Installation Instructions

Below are instructions for installing and running these tutorials

Checking out code

git clone --recursive https://github.com/rannbaron/TUMTopoTimeSeries2016.git

Installing Jupyter Notebook

To run these modules, you will need to have jupyter notebook installed with a Python 3 backend with numpy, scipy, and matplotlib. The easiest way to install this is with Anaconda:

https://www.continuum.io/downloads

Once you have downloaded and installed all of these packages, navigate to the root of this repository and type

jupyter notebook

This will launch a browser on your computer that will allow you to run the modules via the local Jupyter backend server

Installing librosa

After you have the proper Python environment, you will need to install the librosa library for the third module on audio processing.

Installing avconv

For loading video, you will need to install the avconv binaries, and you will need the Python imageio library

pip install imageio

Compiling Ripser

To run code which computes TDA (modules 2-4), you will need to compile some C++ code, written by Uli Bauer. From the root directory of the repository, run the following commands

cd ripser
make all
cd ..

To test this, type

python TDA.py

at the root of this repository. This should compute a persistence diagram of a circle, which has only one persistence point.

Running the code

At the root of this directory, type

jupyter notebook

This will launch a browser window, where you can run the modules. Click on one of the files (e.g. 1-SlidingWindowBasics.ipynb) to begin

tumtopotimeseries2016's People

Contributors

ctralie avatar

Watchers

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