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