Commit Graph

72 Commits

Author SHA1 Message Date
AlexanderOtt
f9ed1fc30c add simple way to compare model and a data set 2020-04-02 10:10:19 +02:00
AlexanderOtt
d2e83e8bc2 move detection (f_zero,...) and fitting to helperfunctions 2020-04-02 10:09:10 +02:00
AlexanderOtt
af40a60189 use same type of calculations for characteristics as in the data 2020-04-02 10:07:17 +02:00
AlexanderOtt
b4d5cc2714 remove unnecessary print 2020-04-02 10:05:57 +02:00
AlexanderOtt
6562e2cff8 add fit_(function)(x,y) type functions 2020-04-02 10:05:22 +02:00
AlexanderOtt
6ae9781cec allow non int indexes as simulation time may not be a multiple of the sampling time (TODO fix the simulation time?) 2020-04-02 10:03:48 +02:00
AlexanderOtt
42ee462016 add condition that time constants (taus) are larger than 0 2020-04-02 10:00:53 +02:00
AlexanderOtt
45abc0ae14 use model intern calculation for the characterizing values 2020-03-27 10:28:12 +01:00
AlexanderOtt
f41b6bdb78 add check so that time constants cannot be negative 2020-03-27 10:26:08 +01:00
AlexanderOtt
c841bed77e improve search for v-offset 2020-03-27 10:22:56 +01:00
AlexanderOtt
cef2f7a016 correct name of tester class, remove unrealistig test 2020-03-25 11:10:42 +01:00
a.ott
dacde1f1b6 add tests for sinusoidalStep, add FiCurve plot possibilities (temp), add initial simplex generation 2020-03-16 17:17:05 +01:00
a.ott
6012927416 tests, correct stimulus-type for fi-curve, general changes 2020-03-11 18:03:21 +01:00
a.ott
15166042be remove unneeded test ploting 2020-03-09 09:56:57 +01:00
a.ott
98c0c1ed1d add test to hand fit model parameters and test for FiCurve 2020-03-04 15:57:32 +01:00
a.ott
de6c9f0b4d adapt to new way to calculate freq traces (different start points) 2020-03-04 15:56:34 +01:00
a.ott
74c9fa55fa make all_mean_freq_trace more robust 2020-03-04 15:55:24 +01:00
a.ott
a71193f0c9 change model step size to appropriate size 2020-03-04 15:51:28 +01:00
a.ott
021028c0ba remove unneeded test plotting 2020-03-04 15:50:31 +01:00
a.ott
63729529c3 remove fulfilled todo 2020-03-04 15:49:05 +01:00
a.ott
3fa951624b add error messages 2020-03-03 15:12:24 +01:00
a.ott
861557da0d unittests and debug for sinusoidal stimulus 2020-03-03 14:27:04 +01:00
a.ott
04815de85c add actual input scaling 2020-03-03 09:24:10 +01:00
a.ott
7e65ebae4e change implementation to more efficient way. adapt signature 2020-03-02 16:37:37 +01:00
a.ott
8997e56618 debug and add unittests 2 2020-03-02 16:31:45 +01:00
a.ott
170ecab8f4 debug and add unittests 1 2020-02-27 09:28:34 +01:00
a.ott
234f58404e adapt runtime test to changes 2020-02-18 16:31:08 +01:00
a.ott
af2172c81b improve internal stimulus handling 2020-02-18 16:30:32 +01:00
a.ott
251ca4f2ef rectify stimulus in simulate fast, add marker calculation 2020-02-18 16:29:09 +01:00
a.ott
04ba55bbc5 add convert to array with jit 2020-02-17 16:51:10 +01:00
a.ott
a53d6f4a4e too much sorry future me -.- 2020-02-14 14:33:58 +01:00
a.ott
ef3c88d744 add to array function, add step functionality 2020-02-14 14:33:21 +01:00
a.ott
8645d30147 change variable order to fit other lines 2020-02-14 14:32:21 +01:00
a.ott
694cb85770 add warning for baseline spikestimes 2020-02-14 14:31:10 +01:00
a.ott
d0d42406c8 add getters for vs and sc 2020-02-14 14:30:37 +01:00
a.ott
9ccf46f3c3 add functionality to parse baseline spiketimes 2020-01-29 11:38:44 +01:00
a.ott
5712b1bb84 adapt to moved rectify and fix v_offset bug 2020-01-29 11:16:02 +01:00
a.ott
e0c1ab31a3 sort default parameters more intuitively 2020-01-29 11:05:12 +01:00
a.ott
d7f70ab48d change reference to old_helper_functions 2020-01-29 11:04:18 +01:00
a.ott
e7553b24cd change order of clipped line to fit normal line, add rectify 2020-01-29 11:03:13 +01:00
a.ott
f6b2ea8938 write small example case for scipy.optimize.minimize 2020-01-29 11:00:04 +01:00
a.ott
0adb8e98b9 clean up helper functions 2020-01-29 10:59:27 +01:00
a.ott
3ffa6d5dbe have amplitude be a optional value with default one 2020-01-27 14:13:19 +01:00
a.ott
5165046f20 delete out of date code 2020-01-27 13:43:42 +01:00
a.ott
45d47b3818 second part of move introductory models... 2020-01-27 13:42:44 +01:00
a.ott
0deb9bb19c change default values to dict instead of two lists 2020-01-27 13:39:55 +01:00
a.ott
3ecc201553 move old introductory models 2020-01-27 13:39:05 +01:00
a.ott
867c4461d8 add test for step size dependence of lifac noise 2020-01-24 13:39:46 +01:00
a.ott
6fcdf1eee0 sinusoidal stimulus with beat 2020-01-24 13:39:12 +01:00
a.ott
15bb88776e add noise, input scaling and offset voltage to lifac 2020-01-24 13:38:36 +01:00