Name 
Function 
Source Code 
Dual Tone MultiFrequency (DTMF) encoder and decoder 
The program takes a symbol (eg., '6') as an input and generates a corresponding one second long DTMF tone, sampled at 44,000 16bit samples/sec, and saves the signal as an MS Windows WAV file. 
DTMF.py 
Successive Approximation Algorithm 
Nbit A/D conversion of an analog input value in range Vmin~Vmax. 
SA.py 
2way Partitioning Heuristics 
Input is a graph G=(V,E) where V represents nodes (eg., processors) and E represents the edges (eg., communicationload). Output is two equal size partitions, optimized in 7 different ways. 
partition.py
pardata.dat
readdata.py

Mealy2Moore 
Algorithm that converts a mealy FSM to moore FSM. 
m2m.py 
Scheduler 
Implementations of Earliest Deadline First (EDF) and Rate Monotonic (RM) Scheduler. 
RMscheduler.py
EDFscheduler.py
t_edf.dat, t_rm.dat

Encryption/Decryption Algorithm for Distributed Sensor Nodes 
The input is the number of sensor nodes N and a binary string S as a cipher. The algorithm generates N binary strings for each node, where at least 3 of them could derive the original message. 
sensor_crypt.py 
Ray tracing algorithm 
This script generates an image using ray tracing for a simple scene 
raytracing.py 
Zbuffer algorithm 
Implementation of Zbuffer Algorithm 
zbuffer.py 