Packages | |
| package | freq_spectrum |
Variables | |
| tuple | freq_spectrum.argParser = argparse.ArgumentParser() |
| tuple | freq_spectrum.args = argParser.parse_args() |
| tuple | freq_spectrum.fin = open(args.datafile, 'r') |
| tuple | freq_spectrum.words = line.split(',') |
| tuple | freq_spectrum.time_value = float(words[1]) |
| tuple | freq_spectrum.signal_value = float(words[0]) |
| tuple | freq_spectrum.fft = np.fft.fft(signal) |
| list | freq_spectrum.sampleSpacing = time[-1] |
| tuple | freq_spectrum.freq = np.fft.fftfreq(signal.size, sampleSpacing) |
| int | freq_spectrum.power = 10 |
1.7.1