-
Notifications
You must be signed in to change notification settings - Fork 1
/
EPdata.py
57 lines (44 loc) · 1.84 KB
/
EPdata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import os.path
from ajustador.loader import IVCurveSeries
class Params:
requires = ()
provides = ('baseline_before', 'baseline_after',
'steady_after', 'steady_before', 'steady_cutoff',
'falling_curve_window', 'rectification_window',
'injection_start', 'injection_end',
'injection_interval')
baseline_before = 0.1
# current injection stops at 0.4, wait a bit for it to return to steady state
baseline_after = 0.5
steady_after = .25
steady_cutoff = 80
falling_curve_window = 20
rectification_window = 11
injection_start = 0.1
injection_end = 0.4
injection_interval = injection_end - injection_start
steady_before = injection_end
dirname = os.path.dirname(__file__) + '/EPmeasurements'
params = Params()
EPwaves120617 = IVCurveSeries(dirname + '/ep120617-11_Waves', params,
IV = (-200e-12, 50e-12),
IF = (0e-12, 50e-12),
time = .6)
EPwaves051517 = IVCurveSeries(dirname + '/ep051517_6_Waves', params,
IV = (-200e-12, 50e-12),
IF = (0e-12, 50e-12),
time = .6)
EPwaves032717 = IVCurveSeries(dirname + '/ep032717_1_Waves', params,
IV = (-200e-12, 50e-12),
IF = (0e-12, 50e-12),
time = .6)
EPwaves032117 = IVCurveSeries(dirname + '/ep032117_2_Waves', params,
IV = (-200e-12, 50e-12),
IF = (0e-12, 50e-12),
time = .6)
alldata = {
'120617':EPwaves120617,
'051517':EPwaves051517,
'032717':EPwaves032717,
'032117':EPwaves032117,
}