Skip to content

rannbaron/TUMTopoTimeSeries2016

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.7%
  • Python 1.3%