Mercurial > hg > aimc
comparison trunk/src/Modules/Features/ModuleGaussians_test.py @ 283:ef14c9f2c1d2
-Added modules template
-Changed header guard style to be more consistent with the Google style guide
-Added Doyxfile to generate doxygen documentation
-Added structure diagram
-Updated swig script to reflect new modules
-Changes Gaussians back to using floats and changed tolerance on tests - doubles are unnecessary here
author | tomwalters |
---|---|
date | Fri, 19 Feb 2010 12:15:56 +0000 |
parents | ce2bab04f155 |
children | 30dde71d0230 |
comparison
equal
deleted
inserted
replaced
282:304797ae79d1 | 283:ef14c9f2c1d2 |
---|---|
33 data_file = "src/Modules/Features/testdata/aa153.0p108.1s100.0t+000itd.mat" | 33 data_file = "src/Modules/Features/testdata/aa153.0p108.1s100.0t+000itd.mat" |
34 data = io.loadmat(data_file) | 34 data = io.loadmat(data_file) |
35 | 35 |
36 # The margin of error allowed between the returned values from AIM-C and | 36 # The margin of error allowed between the returned values from AIM-C and |
37 # the stored MATLAB values. | 37 # the stored MATLAB values. |
38 epsilon = 0.000001; | 38 epsilon = 0.00001; |
39 | 39 |
40 given_profiles = data["Templates"] | 40 given_profiles = data["Templates"] |
41 matlab_features = data["feature"] | 41 matlab_features = data["feature"] |
42 | 42 |
43 (profile_count, channel_count) = given_profiles.shape | 43 (profile_count, channel_count) = given_profiles.shape |