A brief update on this blog
A quick note ...
I recently started porting this blog from Wordpress to Pelican.
Bit by bit, the old articles and photo galleries are being updated and added again to the blog.
A quick note ...
I recently started porting this blog from Wordpress to Pelican.
Bit by bit, the old articles and photo galleries are being updated and added again to the blog.
Let's assume, you have a set of paths (lines) in a .shp file and try to come up with a way to create one .shp file for every possible combination of paths between a point A and a point B ... Trying to brute force this can be quite …
First, import the necessary modules:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
Then generate some data to plot:
x_array = np.linspace(0,2*np.pi,30)
y_arrays = [np.sin(x_array-i*0.2)+0.3*i for i in x_array]
Choose a colormap …
I found myself in need of a small piece of code to create a time lapse movie from a couple of pictures I took a while ago ...
As it turns out my favorite tool to do that (ffmpeg) got forked and is now available on Debian Jessie as part of …