MsPASS C++ API
2.4.1.dev4+g92330b7a
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
cxx
include
mspass
algorithms
deconvolution
dpss.h
1
#ifndef __DPSS_H__
2
#define __DPSS_H__
3
#include <cmath>
4
#include <string.h>
5
namespace
mspass::algorithms::deconvolution {
6
12
class
ERR
{
13
public
:
15
ERR
() {};
17
ERR
(
const
char
*
msg
);
19
void
getmsg
(
char
*errmsg);
21
const
char
*
getmsg
();
22
23
protected
:
25
char
msg
[30];
26
};
27
29
class
LAPACK_ERROR
:
public
ERR
{
30
public
:
32
LAPACK_ERROR
() {};
34
LAPACK_ERROR
(
const
char
*errmsg);
35
};
36
45
void
compute_energy_concentrations(
double
*h,
int
n,
double
NW,
double
*lambda,
46
int
nseq);
47
59
void
eig_iit(
int
n,
double
*D,
double
*E,
int
il,
int
iu,
double
*eig_val,
60
double
*eig_vec,
int
vec_length);
61
63
void
normalize_vec(
double
*h,
int
n);
64
66
void
polarize_dpss(
double
*h,
int
n,
int
iseq);
67
72
void
dpss_calc(
int
n,
double
NW,
int
seql,
int
sequ,
double
*h);
73
}
// namespace mspass::algorithms::deconvolution
74
#endif
mspass::algorithms::deconvolution::ERR
Base error container used by DPSS/LAPACK helper routines.
Definition
dpss.h:12
mspass::algorithms::deconvolution::ERR::msg
char msg[30]
Definition
dpss.h:25
mspass::algorithms::deconvolution::ERR::getmsg
const char * getmsg()
Definition
dpss.cc:204
mspass::algorithms::deconvolution::ERR::ERR
ERR()
Definition
dpss.h:15
mspass::algorithms::deconvolution::LAPACK_ERROR
Error raised for failures reported by LAPACK routines.
Definition
dpss.h:29
mspass::algorithms::deconvolution::LAPACK_ERROR::LAPACK_ERROR
LAPACK_ERROR()
Definition
dpss.h:32
Generated by
1.9.8