Sharon NILM
8b9c5d4898
Fix daemon dependency
10 years ago
Jim Paris
cf2c28b0fb
Add --daemon flag
10 years ago
Jim Paris
87a26c907b
Watch for process termination too
10 years ago
Jim Paris
def465b57c
Improve pipewatch; add nilm-pipewatch script
10 years ago
Jim Paris
0589b8d316
start of pipewatch util
10 years ago
Jim Paris
9c5f07106d
Don't need python-pip
10 years ago
Jim Paris
62e11a11c0
Fix issue with column ordering in the exemplars
If the max scale in the exemplar was a column we weren't using, it
would bail out when looking for that correlation later. Change things
around so exemplars in RAM only keep around the columns we care about.
10 years ago
Jim Paris
2bdcee2c36
More helpful error if exemplar stream doesn't exist
10 years ago
Jim Paris
6dce8c5296
More output
10 years ago
Jim Paris
25c35a56f6
Trainola inserts into the destination stream now
10 years ago
Jim Paris
d610deaef0
More trainola work
10 years ago
Jim Paris
d7d5ccc9a7
More filter cleanup
10 years ago
Jim Paris
f28753ff5c
Move process_numpy_interval outside the class
10 years ago
Jim Paris
c9c2e0d5a8
Improve split between process_numpy and process_numpy_interval
10 years ago
Jim Paris
5a2a32bec5
WIP on trainola improvements
10 years ago
Jim Paris
706c3933f9
Add trainola from nilmrun
10 years ago
Jim Paris
cfd1719152
Use nilmdb.utils.interval.optimize; bump nilmdb min version
10 years ago
Jim Paris
c62fb45980
Makefile cleanup; add nilm-trainola binary
10 years ago
Jim Paris
57d856f2fa
Split filter.py internals up a little more
This makes it easier to use the filter stuff from other code, but it's
also turning it into more of a spaghetti nightmare. Might not be
worth continuing down this path.
10 years ago
Jim Paris
5d83d93019
Rename src/ directory to nilmtools/
10 years ago
Jim Paris
5f847a0513
Split process_numpy innards process_numpy_interval
10 years ago
Jim Paris
29cd7eb6c7
Improve test_prep target in Makefile
10 years ago
Jim Paris
62c8af41ea
Cleanup comments
10 years ago
Jim Paris
4f6bc48619
sinefit: include timestamps on marking output too
11 years ago
Jim Paris
cf9eb0ed48
Improve sinefit resiliancy
11 years ago
Jim Paris
32066fc260
Remove hard matplotlib dependency
11 years ago
Jim Paris
739da3f973
Add median filter
11 years ago
Jim Paris
83ad18ebf6
Fix non-string arguments to metadata_check
11 years ago
Jim Paris
c76d527f95
Fix unicode handling in filter metadata match
11 years ago
Jim Paris
b8a73278e7
Always store metadata rotation as a string
11 years ago
Jim Paris
ce0691d6c4
sineefit: Change sfit4 to fit to \sin instead of \cos
And adjust the period locator accordingly.
Fitting \sin is the same mathematically, it's just conceptually more
straightforward since we're locating zero crossings anyway.
11 years ago
Jim Paris
4da658e960
sinefit: move initial estimate into the main iteration loop
Just a little less code. Same results.
11 years ago
Jim Paris
8ab31eafc2
Allow shorthand method for creating an option-less parser.
This is mostly just intended to make a simple filter example shorter.
11 years ago
Jim Paris
979ab13bff
Force fs to be a float in sfit4
11 years ago
Jim Paris
f4fda837ae
Bump required nilmdb version to 1.6.0
11 years ago
Jim Paris
5547d266d0
filter: Don't include trailing unprocessed data in the inserted intervals
11 years ago
Jim Paris
372e977e4a
Reverse cleanup order to handle interruptions better
11 years ago
Jim Paris
640a680704
Increase default min amplitude in sinefit
11 years ago
Jim Paris
2e74e6cd63
Skip over data if we aren't able to process any. Change output format
11 years ago
Jim Paris
de2a794e00
Support wildcards in nilm-decimate-auto
11 years ago
Jim Paris
065a40f265
sinefit: add minimum amplitude check
11 years ago
Jim Paris
65fa43aff1
sinefit: catch all errors in sfit4
11 years ago
Jim Paris
57c23c3792
sinefit: allow user to override min/max frequency detection
11 years ago
Jim Paris
d4c8e4acb4
Include rotation in metadata
11 years ago
Jim Paris
fd1b33401f
Require a --yes argument before actually cleaning data
11 years ago
Jim Paris
4c748ec00c
Fix minor bugs
11 years ago
Jim Paris
b72d6b6908
Warn if column count is wrong for this nharm value
11 years ago
Jim Paris
80d642e52e
Change nilm-cleanup config file format, tweak output
11 years ago
Jim Paris
001b89b1d2
Support multiple shifted FFTs per period in nilm-prep.
New option --nshift controls how many shifted FFT windows to perform
per period. "nilm-prep -N 2" is similar to old prep behavior. Note
that this is redundant information and takes up extra storage space,
though.
11 years ago
Jim Paris
f978823505
Fix prep scaling and fix comments
11 years ago