Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Seitosh
Seitosh
Commits
05d10711
Commit
05d10711
authored
Jul 22, 2016
by
thomas.forbriger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libstfinv [WP]: clear output Fourier coefficients when preparing next run
parent
aa4a3c0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/libs/libstfinv/stfinvfourier.cc
src/libs/libstfinv/stfinvfourier.cc
+6
-0
No files found.
src/libs/libstfinv/stfinvfourier.cc
View file @
05d10711
...
@@ -275,6 +275,7 @@ namespace stfinv {
...
@@ -275,6 +275,7 @@ namespace stfinv {
* All input is available as time series data in first place.
* All input is available as time series data in first place.
* -# Copy time series data to STFFourierDomainEngine::Mfftengineinput
* -# Copy time series data to STFFourierDomainEngine::Mfftengineinput
* -# Transform time series data to Fourier domain
* -# Transform time series data to Fourier domain
* -# Clear output coefficients
*
*
* This function should be called by the very first statement of the
* This function should be called by the very first statement of the
* exec-function of the derived class (e.g. STFEngineFDLeastSquares::exec).
* exec-function of the derived class (e.g. STFEngineFDLeastSquares::exec).
...
@@ -283,6 +284,7 @@ namespace stfinv {
...
@@ -283,6 +284,7 @@ namespace stfinv {
{
{
this
->
getinput
();
this
->
getinput
();
Mfftengineinput
.
r2c
();
Mfftengineinput
.
r2c
();
Mfftengineoutput
.
series
()
=
0.
;
}
// void STFFourierDomainEngine::fftinput()
}
// void STFFourierDomainEngine::fftinput()
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
...
@@ -551,6 +553,10 @@ namespace stfinv {
...
@@ -551,6 +553,10 @@ namespace stfinv {
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*!
* Apply a time domain taper to the impulse response of the source time
* function correction filter.
*/
void
STFFourierDomainEngine
::
taperstf
()
void
STFFourierDomainEngine
::
taperstf
()
{
{
if
(
this
->
Mapplystftaper
)
if
(
this
->
Mapplystftaper
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment