◆ ThreeCSpike() [1/2]
8 {
9 try {
10 int i;
11 for (i = 0; i < 3; ++i)
14 for (i = 0,
amp = 0.0; i < 3; ++i)
17 } catch (...) {
18 throw;
19 };
20}
double amp
Definition GeneralIterDecon.h:28
double u[3]
Definition GeneralIterDecon.h:26
int col
Definition GeneralIterDecon.h:24
◆ ThreeCSpike() [2/2]
mspass::algorithms::deconvolution::ThreeCSpike::ThreeCSpike |
( |
const ThreeCSpike & |
parent | ) |
|
Copy consructor. Could be defaulted, I think, but best to create it explicitly.
21 {
24 for (int k = 0; k < 3; ++k)
26}
References amp, col, and u.
◆ operator=()
Makign sure operator= is also essential be sure STL containers work correctly
27 {
28 if (this != (&parent)) {
31 for (int k = 0; k < 3; ++k)
33 }
34 return *this;
35}
References amp, col, and u.
◆ amp
double mspass::algorithms::deconvolution::ThreeCSpike::amp |
L2 norm of u savd for efficiency to avoid repeated calculations
◆ col
int mspass::algorithms::deconvolution::ThreeCSpike::col |
The column position where this spike should be placed in parent three component dmatrix where time is the column field
double mspass::algorithms::deconvolution::ThreeCSpike::u[3] |
This holds the amplitude of this spike as three components
The documentation for this class was generated from the following files:
- /home/runner/work/mspass/mspass/cxx/include/mspass/algorithms/deconvolution/GeneralIterDecon.h
- /home/runner/work/mspass/mspass/cxx/src/lib/algorithms/deconvolution/ThreeCSpike.cc