This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pylab as pl | |
import numpy as np | |
class FFT : | |
def __init__(self, file='data.csv'): | |
self.file=file | |
self.readFile() | |
def readFile(self) : | |
xy = np.loadtxt(self.file, delimiter=",", skiprows=1).transpose() |