Brief description of class still missing. More...
#include <SignalProcess.h>
Public Member Functions | |
void | agc (double width) |
void | clear () |
void | convolution (int referenceIndex) |
void | correlations (double maxDelay, int referenceIndex=-1) |
void | cut (TimeRangeParameters ¶m) |
void | decimateAmplitude (int maxCount, double maxRef) |
void | decimateTime (int factor) |
void | discreteFourierTransform () |
bool | exportFile (const QString &filePath, bool useOriginalBaseName=false, const SignalFileFormat &format=SignalFileFormat::Unknown, int pickNumber=0) |
void | fastFourierTransform (DoubleSignal::SignalType st) |
void | filter (const FilterParameters ¶m) |
const QString & | history () const |
int | indexOfStep (const QString &tag) const |
bool | merge () |
bool | mergeStations () |
void | multiply (double val) |
void | normalizedCorrelations (double maxDelay, int referenceIndex=-1) |
void | overSample (double factor) |
void | restoreStep (int index) |
void | rotateComponents (const RotateParameters ¶m) |
void | saveStep (const QString &tag) |
void | setCurrentSubPool (SubSignalPool *subPool) |
void | setHeader (int signalIndex, const MetaDataIndex &dataIndex, const QVariant &value) |
void | shift (double dt) |
SignalProcess (QObject *parent=0) | |
void | stalta (double tsta, double tlta) |
void | stddevClip (double factor) |
int | stepCount () const |
QStringList | steps () const |
void | subtractSignal (int index) |
void | subtractSignals (const QString &groupName) |
void | subtractValue (double val) |
void | taper (TimeRangeParameters &range, const TaperParameters ¶m) |
void | waveletTransform (const MorletParameters ¶m) |
void | whiten () |
Protected Member Functions | |
void | addToHistory (const QString &s) |
void | agcCore (double width) |
void | convolutionCore (int referenceIndex) |
void | correlationsCore (double maxDelay, int referenceIndex) |
void | cutCore (TimeRangeParameters ¶m) |
void | decimateAmplitudeCore (int maxCount, double maxRef) |
void | decimateTimeCore (int factor) |
void | discreteFourierTransformCore () |
bool | exportFileCore (const QString &filePath, bool useOriginalBaseName, const SignalFileFormat &format, int pickNumber) |
void | fastFourierTransformCore (DoubleSignal::SignalType st) |
void | filterCore (const FilterParameters ¶m) |
QVariant | headerCore (int signalIndex, const MetaDataIndex &dataIndex) |
void | init () |
bool | mergeCore () |
bool | mergeStationsCore () |
void | multiplyCore (double val) |
void | normalizedCorrelationsCore (double maxDelay, int referenceIndex) |
void | overSampleCore (double factor) |
void | restoreStepCore (int index) |
void | rotateComponentsCore (const RotateParameters ¶m) |
void | saveStepCore (const QString &tag) |
void | setHeaderCore (int signalIndex, const MetaDataIndex &dataIndex, const QVariant &value) |
void | shiftCore (double dt) |
int | signalCountCore () |
void | staltaCore (double tsta, double tlta) |
void | stddevClipCore (double factor) |
void | subtractSignalCore (int index) |
void | subtractSignalsCore (const QString &groupName) |
void | subtractValueCore (double val) |
void | taperCore (TimeRangeParameters &range, const TaperParameters ¶m) |
void | waveletTransformCore (const MorletParameters ¶m) |
void | whitenCore () |
Brief description of class still missing.
Full description of class still missing
GeopsyCore::SignalProcess::SignalProcess | ( | QObject * | parent = 0 | ) | [inline] |
: QObject(parent) {}
void GeopsyCore::SignalProcess::addToHistory | ( | const QString & | s | ) | [inline, protected] |
Referenced by agc(), convolution(), correlations(), cut(), decimateAmplitude(), decimateTime(), discreteFourierTransform(), exportFile(), fastFourierTransform(), filter(), merge(), mergeStations(), multiply(), normalizedCorrelations(), overSample(), restoreStep(), rotateComponents(), GeopsyCore::SignalProcessScript::run(), saveStep(), setHeader(), shift(), stalta(), stddevClip(), subtractSignal(), subtractSignals(), subtractValue(), taper(), waveletTransform(), and whiten().
{_history += s;}
void GeopsyCore::SignalProcess::agc | ( | double | width | ) |
References addToHistory(), agcCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::agc().
{ TRACE; init(); agcCore(width); static const QString funStruct("agc(%1)"); QString fun=funStruct.arg(width); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::agcCore | ( | double | width | ) | [protected] |
void GeopsyCore::SignalProcess::clear | ( | ) |
void GeopsyCore::SignalProcess::convolution | ( | int | referenceIndex | ) |
References addToHistory(), convolutionCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::convolution().
{ TRACE; init(); convolutionCore(referenceIndex); static const QString funStruct("convolution(%1)"); QString fun=funStruct.arg(referenceIndex); addToHistory(fun + ";\n"); saveStep(fun); }
void GeopsyCore::SignalProcess::convolutionCore | ( | int | referenceIndex | ) | [protected] |
References GeopsyCore::SubSignalPool::at(), and GeopsyCore::SubSignalPool::convolution().
Referenced by convolution().
{ _current->convolution(_current->at(referenceIndex)); }
void GeopsyCore::SignalProcess::correlations | ( | double | maxDelay, |
int | referenceIndex = -1 |
||
) |
References addToHistory(), correlationsCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::correlations().
{ TRACE; init(); correlationsCore(maxDelay, referenceIndex); static const QString funStruct("correlations(%1, %2)"); QString fun=funStruct.arg(maxDelay).arg(referenceIndex); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::correlationsCore | ( | double | maxDelay, |
int | referenceIndex | ||
) | [protected] |
References GeopsyCore::SubSignalPool::at(), and GeopsyCore::SubSignalPool::correlations().
Referenced by correlations().
{ if(referenceIndex>-1) { _current->correlations(maxDelay, _current->at(referenceIndex)); } else { _current->correlations(maxDelay); } }
void GeopsyCore::SignalProcess::cut | ( | TimeRangeParameters & | param | ) |
References addToHistory(), cutCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::cut().
{ TRACE; init(); cutCore(param); static const QString funStruct("cut(%1)"); QString fun=funStruct.arg(timeRangeToArguments( param) ); addToHistory(fun + ";\n" ); saveStep(fun.replace("\"","")); }
void GeopsyCore::SignalProcess::cutCore | ( | TimeRangeParameters & | param | ) | [protected] |
References GeopsyCore::SubSignalPool::cut().
Referenced by cut().
{ setPicks(param); _current->cut(param); }
void GeopsyCore::SignalProcess::decimateAmplitude | ( | int | maxCount, |
double | maxRef | ||
) |
References addToHistory(), decimateAmplitudeCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::decimateAmplitude().
{ TRACE; init(); decimateAmplitudeCore(maxCount, maxRef); static const QString funStruct("decimateAmplitude(%1, %2)"); QString fun=funStruct.arg(maxCount) .arg(maxRef); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::decimateAmplitudeCore | ( | int | maxCount, |
double | maxRef | ||
) | [protected] |
References GeopsyCore::SubSignalPool::decimateAmplitude().
Referenced by decimateAmplitude().
{ _current->decimateAmplitude(maxCount, maxRef); }
void GeopsyCore::SignalProcess::decimateTime | ( | int | factor | ) |
References addToHistory(), decimateTimeCore(), init(), saveStep(), and TRACE.
Referenced by WaveformConsole::decimateTime().
{ TRACE; init(); decimateTimeCore(factor); static const QString funStruct("decimateTime(%1)"); QString fun=funStruct.arg(factor); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::decimateTimeCore | ( | int | factor | ) | [protected] |
References GeopsyCore::SubSignalPool::decimateTime().
Referenced by decimateTime().
{ _current->decimateTime(factor); }
References addToHistory(), discreteFourierTransformCore(), init(), saveStep(), and TRACE.
{ TRACE; init(); discreteFourierTransformCore(); static const QString funStruct("discreteFourierTransform()"); addToHistory(funStruct + ";\n" ); saveStep(funStruct); }
void GeopsyCore::SignalProcess::discreteFourierTransformCore | ( | ) | [protected] |
References GeopsyCore::SubSignalPool::discreteFourierTransform().
Referenced by discreteFourierTransform().
{ _current->discreteFourierTransform(); }
bool GeopsyCore::SignalProcess::exportFile | ( | const QString & | filePath, |
bool | useOriginalBaseName = false , |
||
const SignalFileFormat & | format = SignalFileFormat::Unknown , |
||
int | pickNumber = 0 |
||
) |
References addToHistory(), exportFileCore(), GeopsyCore::SignalFileFormat::toString(), and TRACE.
{ TRACE; bool ret=exportFileCore(filePath, useOriginalBaseName, format, pickNumber); addToHistory(QString("export(\"%1\", %2, \"%3\", %4);\n") .arg(filePath) .arg(useOriginalBaseName ? "true" : "false") .arg(format.toString()) .arg(pickNumber)); return ret; }
bool GeopsyCore::SignalProcess::exportFileCore | ( | const QString & | filePath, |
bool | useOriginalBaseName, | ||
const SignalFileFormat & | format, | ||
int | pickNumber | ||
) | [protected] |
References GeopsyCore::SubSignalPool::save().
Referenced by exportFile().
References addToHistory(), fastFourierTransformCore(), TRACE, and GeopsyCore::DoubleSignal::typeString().
{ TRACE; fastFourierTransformCore(st); addToHistory(QString("fastFourierTransform(\"%1\");\n") .arg(DoubleSignal::typeString(st) )); }
void GeopsyCore::SignalProcess::fastFourierTransformCore | ( | DoubleSignal::SignalType | st | ) | [protected] |
References GeopsyCore::SubSignalPool::fastFourierTransform().
Referenced by fastFourierTransform().
{ _current->fastFourierTransform(st); }
void GeopsyCore::SignalProcess::filter | ( | const FilterParameters & | param | ) |
References addToHistory(), GeopsyCore::FilterParameters::bandString(), GeopsyCore::FilterParameters::Butterworth, GeopsyCore::FilterParameters::Convolution, filterCore(), init(), GeopsyCore::FilterParameters::maximumFrequency(), GeopsyCore::FilterParameters::method(), GeopsyCore::FilterParameters::methodString(), GeopsyCore::FilterParameters::minimumFrequency(), GeopsyCore::FilterParameters::order(), saveStep(), TRACE, and GeopsyCore::FilterParameters::width().
Referenced by WaveformConsole::filter().
{ TRACE; init(); filterCore(param); static const QString funStruct("filter(\"%1\", \"%2\", %3, %4, %5)"); QString fun=funStruct.arg(param.methodString()) .arg(param.bandString()) .arg(param.minimumFrequency()) .arg(param.maximumFrequency()); switch(param.method()) { case FilterParameters::Butterworth: fun=fun.arg(param.order()); break; case FilterParameters::Convolution: fun=fun.arg(param.width()); break; } addToHistory(fun + ";\n" ); saveStep(fun.replace("\"","")); }
void GeopsyCore::SignalProcess::filterCore | ( | const FilterParameters & | param | ) | [protected] |
References GeopsyCore::SubSignalPool::filter().
Referenced by filter().
{ _current->filter(param); }
QVariant GeopsyCore::SignalProcess::headerCore | ( | int | signalIndex, |
const MetaDataIndex & | dataIndex | ||
) | [protected] |
const QString& GeopsyCore::SignalProcess::history | ( | ) | const [inline] |
Referenced by WaveformConsole::setCurrentSubPool().
{return _history;}
int GeopsyCore::SignalProcess::indexOfStep | ( | const QString & | tag | ) | const |
void GeopsyCore::SignalProcess::init | ( | ) | [protected] |
References saveStepCore(), and QGpCoreTools::tr().
Referenced by agc(), convolution(), correlations(), cut(), decimateAmplitude(), decimateTime(), discreteFourierTransform(), filter(), merge(), mergeStations(), multiply(), normalizedCorrelations(), overSample(), rotateComponents(), GeopsyCore::SignalProcessScript::run(), shift(), stalta(), stddevClip(), subtractSignal(), subtractSignals(), subtractValue(), taper(), waveletTransform(), and whiten().
{ if(_steps.isEmpty()) { saveStepCore(tr("original")); } }
bool GeopsyCore::SignalProcess::merge | ( | ) |
References addToHistory(), init(), mergeCore(), saveStep(), and TRACE.
Referenced by WaveformConsole::merge().
{ TRACE; init(); bool ret=mergeCore(); static const QString funStruct("merge()"); addToHistory(funStruct + ";\n" ); saveStep(funStruct); return ret; }
bool GeopsyCore::SignalProcess::mergeCore | ( | ) | [protected] |
References addToHistory(), init(), mergeStationsCore(), saveStep(), and TRACE.
Referenced by WaveformConsole::merge().
{ TRACE; init(); bool ret=mergeStationsCore(); static const QString funStruct("mergeStations()"); addToHistory(funStruct + ";\n" ); saveStep(funStruct); return ret; }
bool GeopsyCore::SignalProcess::mergeStationsCore | ( | ) | [protected] |
References GeopsyCore::SubSignalPool::mergeStations().
Referenced by mergeStations().
{ return _current->mergeStations(); }
void GeopsyCore::SignalProcess::multiply | ( | double | val | ) |
References addToHistory(), init(), multiplyCore(), saveStep(), and TRACE.
Referenced by WaveformConsole::multiply().
{ TRACE; init(); multiplyCore(val); static const QString funStruct("multiply(%1)"); QString fun=funStruct.arg(val); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::multiplyCore | ( | double | val | ) | [protected] |
References GeopsyCore::SubSignalPool::multiply().
Referenced by multiply().
{ _current->multiply(val); }
void GeopsyCore::SignalProcess::normalizedCorrelations | ( | double | maxDelay, |
int | referenceIndex = -1 |
||
) |
References addToHistory(), init(), normalizedCorrelationsCore(), saveStep(), and TRACE.
Referenced by WaveformConsole::normalizedCorrelations().
{ TRACE; init(); normalizedCorrelationsCore(maxDelay, referenceIndex); static const QString funStruct("normalizedCorrelations(%1, %2)"); QString fun=funStruct.arg(maxDelay).arg(referenceIndex); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::normalizedCorrelationsCore | ( | double | maxDelay, |
int | referenceIndex | ||
) | [protected] |
References GeopsyCore::SubSignalPool::at(), and GeopsyCore::SubSignalPool::normalizedCorrelations().
Referenced by normalizedCorrelations().
{ if(referenceIndex>-1) { _current->normalizedCorrelations(maxDelay, _current->at(referenceIndex)); } else { _current->normalizedCorrelations(maxDelay); } }
void GeopsyCore::SignalProcess::overSample | ( | double | factor | ) |
References addToHistory(), init(), overSampleCore(), saveStep(), and TRACE.
Referenced by WaveformConsole::overSample().
{ TRACE; init(); overSampleCore(factor); static const QString funStruct("overSample(%1)"); QString fun=funStruct.arg(factor); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::overSampleCore | ( | double | factor | ) | [protected] |
References GeopsyCore::SubSignalPool::overSample().
Referenced by overSample().
{ _current->overSample(factor); }
void GeopsyCore::SignalProcess::restoreStep | ( | int | index | ) |
References addToHistory(), restoreStepCore(), and TRACE.
Referenced by ShotRecord::revert(), and WaveformConsole::revert().
{ TRACE; if(index < 0 || index >= _steps.count()) return; restoreStepCore(index); addToHistory(QString("restore(\"%1\");\n").arg(_steps.at(index).name()) ); }
void GeopsyCore::SignalProcess::restoreStepCore | ( | int | index | ) | [protected] |
References GeopsyCore::SubSignalPool::name(), and GeopsyCore::SubSignalPool::setName().
Referenced by restoreStep().
void GeopsyCore::SignalProcess::rotateComponents | ( | const RotateParameters & | param | ) |
References addToHistory(), GeopsyCore::RotateParameters::angleAroundEast(), GeopsyCore::RotateParameters::angleAroundNorth(), GeopsyCore::RotateParameters::angleAroundVertical(), GeopsyCore::RotateParameters::axes(), GeopsyCore::RotateParameters::East, init(), GeopsyCore::RotateParameters::North, rotateComponentsCore(), saveStep(), TRACE, and GeopsyCore::RotateParameters::Vertical.
Referenced by WaveformConsole::rotate().
{ TRACE; init(); rotateComponentsCore(param); static const QString funStruct("rotateComponents(%1, %2, %3, %4, %5, %6)"); QString fun=funStruct.arg(param.axes() & RotateParameters::Vertical ? "true" : "false" ) .arg(param.angleAroundVertical()) .arg(param.axes() & RotateParameters::North ? "true" : "false" ) .arg(param.angleAroundNorth()) .arg(param.axes() & RotateParameters::East ? "true" : "false" ) .arg(param.angleAroundEast()); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::rotateComponentsCore | ( | const RotateParameters & | param | ) | [protected] |
References GeopsyCore::RotateParameters::matrix(), GeopsyCore::SubSignalPool::rotateComponents(), and QGpCoreTools::tr().
Referenced by rotateComponents().
{ Matrix3x3 rotMatrix=param.matrix(); App::stream() << tr( "Rotation matrix:\n" ) << rotMatrix; _current->rotateComponents(rotMatrix); }
void GeopsyCore::SignalProcess::saveStep | ( | const QString & | tag | ) |
References addToHistory(), saveStepCore(), and TRACE.
Referenced by agc(), convolution(), correlations(), cut(), decimateAmplitude(), decimateTime(), discreteFourierTransform(), filter(), merge(), mergeStations(), multiply(), normalizedCorrelations(), overSample(), rotateComponents(), shift(), stalta(), stddevClip(), subtractSignal(), subtractSignals(), subtractValue(), taper(), waveletTransform(), and whiten().
{ TRACE; saveStepCore(tag); addToHistory(QString("save(\"%1\");\n").arg(tag) ); }
void GeopsyCore::SignalProcess::saveStepCore | ( | const QString & | tag | ) | [protected] |
References GeopsyCore::SubSignalPool::copy().
Referenced by init(), and saveStep().
{ _steps.append(*_current); _steps.last().setName(tag); *_current=_current->copy(); }
void GeopsyCore::SignalProcess::setCurrentSubPool | ( | SubSignalPool * | subPool | ) |
References TRACE.
Referenced by modeWaveform(), ShotRecord::ShotRecord(), and GeopsyGui::SubPoolWindow::signalProcess().
{ TRACE; _steps.clear(); _current=subPool; }
void GeopsyCore::SignalProcess::setHeader | ( | int | signalIndex, |
const MetaDataIndex & | dataIndex, | ||
const QVariant & | value | ||
) |
References addToHistory(), GeopsyCore::MetaDataIndex::index(), GeopsyCore::MetaDataFactory::instance(), setHeaderCore(), and TRACE.
{ TRACE; setHeaderCore(signalIndex, dataIndex, value); addToHistory(QString("setHeader(%1, \"%2\", %3, %4);\n") .arg(signalIndex) .arg(MetaDataFactory::instance()->baseName(dataIndex)) .arg(dataIndex.index()) .arg(value.toString())); }
void GeopsyCore::SignalProcess::setHeaderCore | ( | int | signalIndex, |
const MetaDataIndex & | dataIndex, | ||
const QVariant & | value | ||
) | [protected] |
References GeopsyCore::SubSignalPool::at(), GeopsyCore::SubSignalPool::begin(), GeopsyCore::SubSignalPool::end(), and GeopsyCore::Signal::setHeader().
Referenced by setHeader().
{ if(signalIndex<0) { for(SubSignalPool::iterator it=_current->begin(); it!=_current->end(); it++) { (*it)->setHeader(dataIndex, value); } } else if(signalIndex<_current->count()) { _current->at(signalIndex)->setHeader(dataIndex, value); } }
void GeopsyCore::SignalProcess::shift | ( | double | dt | ) |
References addToHistory(), init(), saveStep(), shiftCore(), and TRACE.
Referenced by ShotRecord::setT0(), and WaveformConsole::shift().
{ TRACE; init(); shiftCore(dt); static const QString funStruct("shift(%1)"); QString fun=funStruct.arg(dt); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::shiftCore | ( | double | dt | ) | [protected] |
int GeopsyCore::SignalProcess::signalCountCore | ( | ) | [protected] |
References GeopsyCore::SubSignalPool::count().
{ return _current->count(); }
void GeopsyCore::SignalProcess::stalta | ( | double | tsta, |
double | tlta | ||
) |
References addToHistory(), init(), saveStep(), staltaCore(), and TRACE.
Referenced by WaveformConsole::stalta().
{ TRACE; init(); staltaCore(tsta, tlta); static const QString funStruct("stalta(%1, %2)"); QString fun=funStruct.arg(tsta) .arg(tlta); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::staltaCore | ( | double | tsta, |
double | tlta | ||
) | [protected] |
References GeopsyCore::SubSignalPool::stalta().
Referenced by stalta().
{ _current->stalta(tsta, tlta); }
void GeopsyCore::SignalProcess::stddevClip | ( | double | factor | ) |
References addToHistory(), init(), saveStep(), stddevClipCore(), and TRACE.
Referenced by WaveformConsole::stddevClip().
{ TRACE; init(); stddevClipCore(factor); static const QString funStruct("stddevClip(%1)"); QString fun=funStruct.arg(factor); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::stddevClipCore | ( | double | factor | ) | [protected] |
References GeopsyCore::SubSignalPool::stddevClip().
Referenced by stddevClip().
{ _current->stddevClip(factor); }
int GeopsyCore::SignalProcess::stepCount | ( | ) | const [inline] |
{return _steps.count();}
QStringList GeopsyCore::SignalProcess::steps | ( | ) | const |
References TRACE.
Referenced by WaveformConsole::setCurrentSubPool().
{ TRACE; QStringList l; int n=_steps.count(); for(int i=0; i<n; i++ ) { l.append(_steps.at(i).name()); } return l; }
void GeopsyCore::SignalProcess::subtractSignal | ( | int | index | ) |
References addToHistory(), init(), saveStep(), subtractSignalCore(), and TRACE.
Referenced by WaveformConsole::subtractSignals().
{ TRACE; init(); subtractSignalCore(index); static const QString funStruct("subtractSignal(%1)"); QString fun=funStruct.arg(index); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::subtractSignalCore | ( | int | index | ) | [protected] |
References GeopsyCore::SubSignalPool::at(), and GeopsyCore::SubSignalPool::subtractSignal().
Referenced by subtractSignal().
{ _current->subtractSignal(_current->at(index)); }
void GeopsyCore::SignalProcess::subtractSignals | ( | const QString & | groupName | ) |
References addToHistory(), init(), saveStep(), subtractSignalsCore(), and TRACE.
Referenced by WaveformConsole::subtractSignals().
{ TRACE; init(); subtractSignalsCore(groupName); static const QString funStruct("subtractSignals(\"%1\")"); QString fun=funStruct.arg(groupName); addToHistory(fun + ";\n" ); saveStep(fun.replace("\"","")); }
void GeopsyCore::SignalProcess::subtractSignalsCore | ( | const QString & | groupName | ) | [protected] |
References GeopsyCore::SubSignalPool::addGroup(), GeopsyCore::GeopsyCoreEngine::currentDB(), QGpCoreTools::endl(), GeopsyCore::SignalDB::findGroup(), GeopsyCore::geopsyCore, GeopsyCore::SubSignalPool::subtractSignals(), and QGpCoreTools::tr().
Referenced by subtractSignals().
{ AbstractSignalGroup * g=geopsyCore->currentDB()->findGroup(groupName); if(!g) { App::stream() << tr("Unknown group %1").arg(groupName) << endl; return; } SubSignalPool bySubPool; bySubPool.addGroup(g); _current->subtractSignals(&bySubPool); }
void GeopsyCore::SignalProcess::subtractValue | ( | double | val | ) |
References addToHistory(), init(), saveStep(), subtractValueCore(), and TRACE.
Referenced by WaveformConsole::subtractValue().
{ TRACE; init(); subtractValueCore(val); static const QString funStruct("subtractValue(%1)"); QString fun=funStruct.arg(val); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::subtractValueCore | ( | double | val | ) | [protected] |
References GeopsyCore::SubSignalPool::subtractValue().
Referenced by subtractValue().
{ _current->subtractValue(val); }
void GeopsyCore::SignalProcess::taper | ( | TimeRangeParameters & | range, |
const TaperParameters & | param | ||
) |
References addToHistory(), init(), saveStep(), taperCore(), and TRACE.
Referenced by WaveformConsole::taper().
{ TRACE; init(); taperCore(range, param); static const QString funStruct("taper(%1)"); QString fun=funStruct.arg(timeRangeToArguments(range)); addToHistory(fun + ";\n" ); saveStep(fun.replace("\"","")); }
void GeopsyCore::SignalProcess::taperCore | ( | TimeRangeParameters & | range, |
const TaperParameters & | param | ||
) | [protected] |
References GeopsyCore::SubSignalPool::taper().
Referenced by taper().
{ setPicks(range); _current->taper(range, param); }
void GeopsyCore::SignalProcess::waveletTransform | ( | const MorletParameters & | param | ) |
References addToHistory(), GeopsyCore::MorletParameters::fi(), init(), GeopsyCore::MorletParameters::m(), saveStep(), TRACE, and waveletTransformCore().
Referenced by WaveformConsole::waveletTransform().
{ TRACE; init(); waveletTransformCore(param); static const QString funStruct("waveletTransform(%1, %2)"); QString fun=funStruct.arg(param.m()) .arg(param.fi()); addToHistory(fun + ";\n" ); saveStep(fun); }
void GeopsyCore::SignalProcess::waveletTransformCore | ( | const MorletParameters & | param | ) | [protected] |
References GeopsyCore::SubSignalPool::waveletTransform().
Referenced by waveletTransform().
{ _current->waveletTransform(param); }
void GeopsyCore::SignalProcess::whiten | ( | ) |
References addToHistory(), init(), saveStep(), TRACE, and whitenCore().
Referenced by WaveformConsole::whiten().
{ TRACE; init(); whitenCore(); static const QString funStruct("whiten()"); addToHistory(funStruct + ";\n" ); saveStep(funStruct); }
void GeopsyCore::SignalProcess::whitenCore | ( | ) | [protected] |