lots of changes - errors in f_zero calculation?

This commit is contained in:
a.ott
2020-05-13 16:45:12 +02:00
parent 1f82f06209
commit 2f0c19ea5a
8 changed files with 318 additions and 102 deletions

View File

@@ -1,12 +1,21 @@
import numpy as np
import matplotlib.pyplot as plt
import helperFunctions as hF
import functions as fu
import time
from stimuli.SinusoidalStepStimulus import SinusoidalStepStimulus
def main():
x_values = np.arange(-1, 1, 0.01)
popt = [0, 0, 0, 0]
y_values = [fu.full_boltzmann(x, popt[0], popt[1], popt[2], popt[3]) for x in x_values]
plt.plot(x_values, y_values)
plt.show()
quit()
for freq in [700, 50, 100, 500, 1000]:
reps = 1000
start = time.time()