DEPRECATED. Use this repo instead: https://github.com/quinngroup/python-packages
This is a list of all the Python packages I like to use.
// A great deal of this code was inspired by Codeflow. | |
// http://codeflow.org/entries/2010/aug/22/html5-canvas-and-the-flying-dots/ | |
// I just added the bit where the particles explode :) | |
var Universe = function() { this.init.apply(this, arguments); }; | |
Universe.prototype = { | |
init: function(numParticles, interval, maxVelocity, maxAcceleration, criticalMass, criticalRadius) { | |
var canvas = document.getElementById('particles'); | |
var context = canvas.getContext('2d'); |
import numpy as np | |
import matplotlib.pyplot as plot | |
import sys | |
def exp(mean, samples = 100): | |
y = [] | |
lambda_param = (1 / mean) | |
for i in range(0, samples): | |
rand = np.random.rand() | |
y.append(np.log(1 - rand) / (-1.0 * lambda_param)) |
import numpy as np | |
import sys | |
import matplotlib.pyplot as plot | |
import csv | |
# read the arguments - need two files | |
if len(sys.argv) < 3: | |
quit('python parse.py [raw data file] [mahout output]') | |
# read the files |
import argparse | |
import bz2 | |
import os | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description = 'FERET Parser', | |
epilog = 'lol moar p1cz', add_help = 'How to use', | |
prog = 'python feret.py <args>') | |
# Required parameters. |
DEPRECATED. Use this repo instead: https://github.com/quinngroup/python-packages
This is a list of all the Python packages I like to use.
Interfaces the AWS Dash button with the Hue lights.
# Register each worker. | |
./bootstrap-uga-general.sh | |
# Make sure each worker is subscribed to the RHEL channels: | |
# - RHEL Server Optional | |
# - RHEL Server Supplementary | |
# - RHN Tools for RHEL | |
# Run on each worker. | |
yum -y update |
import argparse | |
import matplotlib.pyplot as plot | |
from matplotlib import animation | |
from mpl_toolkits.mplot3d.axes3d import Axes3D | |
import numpy as np | |
import scipy.io | |
import ar.ar as AR | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description = 'Cilia AR Subspace Plotting', |