|
|
@@ -11,16 +11,16 @@ endif |
|
|
|
test: test_cleanup |
|
|
|
|
|
|
|
test_cleanup: |
|
|
|
src/cleanup.py -e extras/cleanup.cfg |
|
|
|
src/cleanup.py extras/cleanup.cfg |
|
|
|
nilmtools/cleanup.py -e extras/cleanup.cfg |
|
|
|
nilmtools/cleanup.py extras/cleanup.cfg |
|
|
|
|
|
|
|
test_insert: |
|
|
|
@make install >/dev/null |
|
|
|
src/insert.py --file --dry-run /test/foo </dev/null |
|
|
|
nilmtools/insert.py --file --dry-run /test/foo </dev/null |
|
|
|
|
|
|
|
test_copy: |
|
|
|
@make install >/dev/null |
|
|
|
src/copy_wildcard.py -U "http://nilmdb.com/bucket/" -D /lees* |
|
|
|
nilmtools/copy_wildcard.py -U "http://nilmdb.com/bucket/" -D /lees* |
|
|
|
|
|
|
|
/tmp/raw.dat: |
|
|
|
octave --eval 'fs = 8000;' \ |
|
|
@@ -37,8 +37,8 @@ test_prep: /tmp/raw.dat |
|
|
|
nilmtool create /test/sinefit float32_3 |
|
|
|
nilmtool create /test/prep float32_8 |
|
|
|
nilmtool insert -s '@0' -t -r 8000 /test/raw /tmp/raw.dat |
|
|
|
src/sinefit.py -a 0.5 -c 1 /test/raw /test/sinefit |
|
|
|
src/prep.py -c 2 /test/raw /test/sinefit /test/prep |
|
|
|
nilmtools/sinefit.py -a 0.5 -c 1 /test/raw /test/sinefit |
|
|
|
nilmtools/prep.py -c 2 /test/raw /test/sinefit /test/prep |
|
|
|
nilmtool extract -s min -e max /test/prep | head -20 |
|
|
|
|
|
|
|
test_decimate: |
|
|
@@ -46,8 +46,8 @@ test_decimate: |
|
|
|
-@nilmtool destroy /lees-compressor/no-leak/raw/16 || true |
|
|
|
-@nilmtool create /lees-compressor/no-leak/raw/4 float32_18 || true |
|
|
|
-@nilmtool create /lees-compressor/no-leak/raw/16 float32_18 || true |
|
|
|
time python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/1 /lees-compressor/no-leak/raw/4 |
|
|
|
python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/4 /lees-compressor/no-leak/raw/16 |
|
|
|
time python nilmtools/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/1 /lees-compressor/no-leak/raw/4 |
|
|
|
python nilmtools/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/4 /lees-compressor/no-leak/raw/16 |
|
|
|
|
|
|
|
version: |
|
|
|
python setup.py version |
|
|
|