To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / yetilab / feature / specdiff.yeti @ 225:8e04d298741b

History | View | Annotate | Download (385 Bytes)

1

    
2
module yetilab.feature.specdiff;
3

    
4
vec = load yetilab.vector.vector;
5
fr = load yetilab.stream.framer;
6
cplx = load yetilab.vector.complex;
7

    
8
load yetilab.feature.feature;
9

    
10
specdiff frames = 
11
    features magdiff (map cplx.magnitudes frames);
12

    
13
specdiffOfFile parameters filename =
14
    specdiff (fr.frequencyDomainFramesOfFile parameters filename);
15

    
16
{
17
    specdiff,
18
    specdiffOfFile,
19
}
20