First things first !
sudo apt update
sudo apt upgradesudo apt-get install build-essential git| # restore_packages.R | |
| # | |
| # installs each package from the stored list of packages | |
| # source: http://hlplab.wordpress.com/2012/06/01/transferring-installed-packages-between-different-installations-of-r/ | |
| load("~/installed_packages.rda") | |
| for (count in 1:length(installedpackages)) { | |
| install.packages(installedpackages[count]) | |
| } |
| #!/Usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Searches a graph and yields all the minimum spanning trees in order of increasing cost. | |
| This could be used to solve minimum spanning trees with constraints by yielding trees until | |
| we reach the first one which satisfies a constraint. | |
| For example it could solve the degree constrained minimum spanning tree DCMST | |
| ''' |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| # This is the framework for graphs we use on this work | |
| import networkx as nx | |
| # Tool to determine wether elements are on the same set | |
| from networkx.utils import UnionFind | |
| # We need this in python to "clone" objects | |
| import copy |
| import numpy as np | |
| #from matplotlib import pyplot as plt | |
| from scipy.optimize import fmin_l_bfgs_b as bfgs,check_grad,fmin_bfgs,fmin_tnc | |
| from scipy.io import loadmat | |
| import cPickle | |
| class params: | |
| ''' |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
copied from Pyscellania: a selection of Python programs¶
Examples:
The complex Gabor/Morlet wavelet was the first continuous wavelet, very similar to the short-time Fourier transform, and is kind of the bridge between the Fourier transform world and the wavelet transform world.