CLAM-Development
1.4.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Processing
SDIFIO
SDIFInConfig.cxx
Go to the documentation of this file.
1
#include "
SDIFInConfig.hxx
"
2
3
namespace
CLAM
4
{
5
6
void
SDIFInConfig::DefaultInit
()
7
{
8
AddRelativePeakIndices();
9
AddFileName();
10
AddEnableResidual();
11
AddEnablePeakArray();
12
AddEnableFundFreq();
13
AddSpectralRange();
14
AddMaxNumPeaks();
15
UpdateData
();
16
17
/* This may have to change to false but right now, Salto is the most important app that
18
uses it and needs it set to true.*/
19
SetRelativePeakIndices(
true
);
20
/* Is it a good idea to add a dummy FileName when we don't really have one?
21
* In any case a few applications probably depend on this member already existing.
22
* So let's leave this alone...
23
*/
24
SetFileName(
"nofile"
);
25
SetEnableResidual(
true
);
26
SetEnablePeakArray(
true
);
27
SetEnableFundFreq(
true
);
28
SetSpectralRange(22050);
29
SetMaxNumPeaks(100);
30
}
31
32
}
33
34
Generated by
1.8.1