Browse Source

add plot locations

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7710 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/zoom-1.0
nilm 13 years ago
parent
commit
ab571fbd72
2 changed files with 25 additions and 0 deletions
  1. +8
    -0
      pc/data/20090722/loadlog.m
  2. +17
    -0
      pc/data/20090722/log.txt

+ 8
- 0
pc/data/20090722/loadlog.m View File

@@ -0,0 +1,8 @@
data=load("log");
dac=data(:,1);
adc=data(:,2);
t=1:size(data,1);
calib=1.385419;
length(t)



+ 17
- 0
pc/data/20090722/log.txt View File

@@ -14,3 +14,20 @@ keithley 110ma
keithley off
light off
end capture

light only:
octave:5> t=100000:101000; plot(t,dac(t)-calib*adc(t))
octave:6> t=100000:101000; plot(t,dac(t)-calib*adc(t),t,dac(t),t,adc(t))

dc zero:
octave:8> t=50:100; plot(t,dac(t)-calib*adc(t))

light+pc:
octave:16> t=1080000:1081000; plot(t,dac(t)-calib*adc(t))

pc only:
octave:19> t=1200000:1201000; plot(t,dac(t)-calib*adc(t))

keithley stepping 100ma -> 120ma -> 110ma
octave:23> t=1590000:1680000; plot(t,dac(t)-calib*adc(t))
octave:24> axis([1590000 1680000 29900 30100])

Loading…
Cancel
Save