This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imageio | |
import os | |
import numpy as np | |
import matplotlib.pyplot as plt | |
pngPath = r'path_to_folder_with_PNG_images' | |
savePath = r'path_to_output_GIF_animation' | |
if os.path.exists(pngPath+'.DS_Store'): # only needed on a Mac | |
os.remove(pngPath+'.DS_Store') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* dpcore_py.c - calculate dynamic programming inner loop | |
* Python extension version | |
* 2014-05-30 Dan Ellis [email protected] | |
*/ | |
/* see http://wiki.scipy.org/Cookbook/C_Extensions/NumPy_arrays */ | |
#include <Python.h> | |
#include <numpy/arrayobject.h> | |
#include <math.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:1cb9121f5c8416082bfdebc884d855f106c6097e88d6a2fd473d9eb184af44d9" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |