comparison src/Modules/Features/ModuleGaussians.cc @ 6:8c859ef1fb75

- Added a basic main function to test that all the can be fitted together - Fixed an initialisation bug in ModuleFileInput that left the buffer size at zero - Added proper description strings to the input and output modules - Fixed an out-by-a-factor-of-1000 bug in the SAI memory allocation (oops) - Added LOG_INFO_NN fucnction to log without a newline. Useful for the ASCII art module chain in aimc.cc.
author tomwalters
date Thu, 18 Feb 2010 19:35:07 +0000
parents decdac21cfc2
children fcbf85ce59fb
comparison
equal deleted inserted replaced
5:3c782dec2fc0 6:8c859ef1fb75
30 30
31 #include "Modules/Features/ModuleGaussians.h" 31 #include "Modules/Features/ModuleGaussians.h"
32 #include "Support/Common.h" 32 #include "Support/Common.h"
33 33
34 namespace aimc { 34 namespace aimc {
35 ModuleGaussians::ModuleGaussians(Parameters *pParam) 35 ModuleGaussians::ModuleGaussians(Parameters *params) : Module(params) {
36 : Module(pParam) {
37 // Set module metadata 36 // Set module metadata
38 module_description_ = "Gaussian Fitting to SSI profile"; 37 module_description_ = "Gaussian Fitting to SSI profile";
39 module_identifier_ = "gaussians"; 38 module_identifier_ = "gaussians";
40 module_type_ = "features"; 39 module_type_ = "features";
41 module_version_ = "$Id: ModuleGaussians.cc 2 2010-02-02 12:59:50Z tcw $"; 40 module_version_ = "$Id: ModuleGaussians.cc 2 2010-02-02 12:59:50Z tcw $";