Skip to content
Snippets Groups Projects
Commit 2e088227 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

init

parents
No related branches found
No related tags found
No related merge requests found
import numpy
import sys
from quickmap import GetMap as draw
dat=numpy.loadtxt(sys.argv[1], delimiter=' ')
Uraw,Iraw=dat[:,0],dat[:,1]
U=[utrue/100*5 for utrue in Uraw]
I=[itrue/150*7.5 for itrue in Iraw]
# 1V 15mA. Edit it to adjust Ammeter/Voltmeter range.
draw(I,U)
1.0 15.0
1.4 30.0
2.1 53.9
3.7 83.3
15.5 87.6
33.9 88.8
48.3 90.8
63.4 91.9
70.0 92.5
77.8 93.1
97.7 94.1
7.0 43.6
11.0 81.2
16.1 114.0
33.6 127.1
55.3 127.9
67.0 128.0
70.0 130.8
79.0 131.6
92.2 131.9
350 147.6
9.0 42.3
10.8 52.1
19.0 82.0
27.9 86.4
32.0 87.0
42.0 87.4
60.4 87.5
65.3 88.1
96.2 88.9
350 97.6
import numpy
import sys
from quickmap import GetMap as draw
dat=numpy.loadtxt(sys.argv[1], delimiter=' ')
Uraw,Iraw=dat[:,0],dat[:,1]
U=[utrue/100*5 for utrue in Uraw]
I=[itrue/150*15 for itrue in Iraw]
# 1V 15mA. Edit it to adjust Ammeter/Voltmeter range.
draw(I,U)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment