Brief description of class still missing. More...
#include <FKParameters.h>
Public Member Functions | |
| double | absoluteThreshold () const |
| virtual void | collectKeywords (PARAMETERS_COLLECTKEYWORDS_ARGS) |
| bool | exportAllFKGrids () const |
| FKParameters () | |
| FKParameters (const FKParameters &o) | |
| virtual int | keywordCount (PARAMETERS_KEYWORDCOUNT_ARGS) |
| int | maximumPeakCount () const |
| double | maximumSlowness () const |
| double | maximumWaveNumber () const |
| double | minimumWaveNumber () const |
| double | relativeThreshold () const |
| void | setAbsoluteThreshold (double a) |
| void | setExportAllFKGrids (bool g) |
| void | setMaximumPeakCount (int m) |
| void | setMaximumSlowness (double s) |
| void | setMaximumWaveNumber (double k) |
| void | setMinimumWaveNumber (double k) |
| void | setRelativeThreshold (double r) |
| virtual bool | setValue (PARAMETERS_SETVALUE_ARGS) |
| virtual QString | toString (PARAMETERS_TOSTRING_ARGS_DECL) const |
Brief description of class still missing.
Full description of class still missing
{
_kmin=0.01;
_kmax=1.0;
_smax=0.0;
_maxPeakCount=1;
_absoluteThreshold=0.0;
_relativeThreshold=0.0;
_exportAllFKGrids=false;
}
| ArrayCore::FKParameters::FKParameters | ( | const FKParameters & | o | ) |
: ArrayParameters(o) { _kmin=o._kmin; _kmax=o._kmax; _smax=o._smax; _maxPeakCount=o._maxPeakCount; _absoluteThreshold=o._absoluteThreshold; _relativeThreshold=o._relativeThreshold; _exportAllFKGrids=o._exportAllFKGrids; }
| double ArrayCore::FKParameters::absoluteThreshold | ( | ) | const [inline] |
Referenced by FKLoopTask::exportMax(), and ToolFKd::setParameters().
{return _absoluteThreshold;}
| void ArrayCore::FKParameters::collectKeywords | ( | PARAMETERS_COLLECTKEYWORDS_ARGS | ) | [virtual] |
Reimplemented from ArrayCore::ArrayParameters.
Reimplemented in ArrayCore::HRFKParameters.
References keywordCount(), and TRACE.
{
TRACE;
int baseIndex=ArrayParameters::keywordCount();
ArrayParameters::collectKeywords(keywords, prefix);
keywords.add(prefix+"MIN K", this, baseIndex);
keywords.add(prefix+"MAX K", this, baseIndex+1);
keywords.add(prefix+"MIN V", this, baseIndex+2);
keywords.add(prefix+"N MAXIMA", this, baseIndex+3);
keywords.add(prefix+"ABSOLUTE THRESHOLD", this, baseIndex+4);
keywords.add(prefix+"RELATIVE THRESHOLD", this, baseIndex+5);
keywords.add(prefix+"EXPORT ALL FK GRIDS", this, baseIndex+6);
}
| bool ArrayCore::FKParameters::exportAllFKGrids | ( | ) | const [inline] |
Referenced by FKLoopTask::run().
{return _exportAllFKGrids;}
| int ArrayCore::FKParameters::keywordCount | ( | PARAMETERS_KEYWORDCOUNT_ARGS | ) | [virtual] |
Reimplemented from ArrayCore::ArrayParameters.
Reimplemented in ArrayCore::HRFKParameters.
Referenced by collectKeywords().
{
return 7+ArrayParameters::keywordCount();
}
| int ArrayCore::FKParameters::maximumPeakCount | ( | ) | const [inline] |
Referenced by FKLoopTask::exportMax(), and ToolFKd::setParameters().
{return _maxPeakCount;}
| double ArrayCore::FKParameters::maximumSlowness | ( | ) | const [inline] |
Referenced by LinearFKPassiveLoopTask::setGrid(), FKTimeWindows::setGrid(), HRFKLoopTask::setGrid(), FKLoopTask::setGrid(), and ToolFKd::setParameters().
{return _smax;}
| double ArrayCore::FKParameters::maximumWaveNumber | ( | ) | const [inline] |
Referenced by ToolFK::checkParameters(), LinearFKPassiveLoopTask::setGrid(), FKTimeWindows::setGrid(), HRFKLoopTask::setGrid(), FKLoopTask::setGrid(), ToolFKd::setParameters(), and FKTimeWindows::setParameters().
{return _kmax;}
| double ArrayCore::FKParameters::minimumWaveNumber | ( | ) | const [inline] |
Referenced by ToolFK::checkParameters(), LinearFKPassiveLoopTask::setGrid(), FKTimeWindows::setGrid(), HRFKLoopTask::setGrid(), FKLoopTask::setGrid(), and ToolFKd::setParameters().
{return _kmin;}
| double ArrayCore::FKParameters::relativeThreshold | ( | ) | const [inline] |
Referenced by FKLoopTask::exportMax(), and ToolFKd::setParameters().
{return _relativeThreshold;}
| void ArrayCore::FKParameters::setAbsoluteThreshold | ( | double | a | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_absoluteThreshold=a;}
| void ArrayCore::FKParameters::setExportAllFKGrids | ( | bool | g | ) | [inline] |
Referenced by ToolLinearFKPassive::start(), ToolHRFK::start(), and ToolFK::start().
{_exportAllFKGrids=g;}
| void ArrayCore::FKParameters::setMaximumPeakCount | ( | int | m | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_maxPeakCount=m;}
| void ArrayCore::FKParameters::setMaximumSlowness | ( | double | s | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_smax=s;}
| void ArrayCore::FKParameters::setMaximumWaveNumber | ( | double | k | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_kmax=k;}
| void ArrayCore::FKParameters::setMinimumWaveNumber | ( | double | k | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_kmin=k;}
| void ArrayCore::FKParameters::setRelativeThreshold | ( | double | r | ) | [inline] |
Referenced by ToolFKd::getParameters().
{_relativeThreshold=r;}
| bool ArrayCore::FKParameters::setValue | ( | PARAMETERS_SETVALUE_ARGS | ) | [virtual] |
Reimplemented from ArrayCore::ArrayParameters.
Reimplemented in ArrayCore::HRFKParameters.
References ArrayCore::ArrayParameters::keywordCount(), and TRACE.
{
TRACE;
switch(index-ArrayParameters::keywordCount()) {
case 0:
_kmin=value.toDouble();
return true;
case 1:
_kmax=value.toDouble();
return true;
case 2:
_smax=1.0/value.toDouble();
return true;
case 3:
_maxPeakCount=value.toInt();
return true;
case 4:
_absoluteThreshold=value.toDouble();
return true;
case 5:
_relativeThreshold=value.toDouble();
return true;
case 6:
_exportAllFKGrids=(value=="y");
return true;
default:
return ArrayParameters::setValue(index, value);
}
}
| QString ArrayCore::FKParameters::toString | ( | PARAMETERS_TOSTRING_ARGS_DECL | ) | const [virtual] |
Reimplemented from ArrayCore::ArrayParameters.
Reimplemented in ArrayCore::HRFKParameters.
References QGpCoreTools::log(), and TRACE.
{
TRACE;
QString log;
log+=ArrayParameters::toString(prefix);
log+=prefix+"MIN K="+QString::number(_kmin)+"\n";
log+=prefix+"MAX K="+QString::number(_kmax)+"\n";
log+=prefix+"MIN V="+QString::number(1.0/_smax)+"\n";
log+=prefix+"N MAXIMA="+QString::number(_maxPeakCount)+"\n";
log+=prefix+"ABSOLUTE THRESHOLD="+QString::number(_absoluteThreshold)+"\n";
log+=prefix+"RELATIVE THRESHOLD="+QString::number(_relativeThreshold)+"\n";
log+=prefix+"EXPORT ALL FK GRIDS="+(_exportAllFKGrids ? "y" : "n")+"\n";
return log;
}