Python DCT Python implementation of a 1d Discrete Cosine Transform (for multimedia class) Now that's a discrete cosine transform! I can't even see him! In one dimension! Note that you need numpy for this code to run.