mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-20 18:46:45 +00:00
This reverts commit 0b5777fc4aa12d7c019cd01aa3f5885c47c0cae2. > In cwt.h and cwt.c , s0 and dj are needed for reconstruction. > Both of these variables may be needed if we are to add more wavelets.
30 lines
628 B
C
Executable File
30 lines
628 B
C
Executable File
#ifndef CWT_H_
|
|
#define CWT_H_
|
|
|
|
#include "wavefunc.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void cwavelet(const double *y, int N, double dt, int mother, double param, double s0, double dj, int jtot, int npad,
|
|
double *wave, double *scale, double *period, double *coi);
|
|
|
|
void psi0(int mother, double param, double *val, int *real);
|
|
|
|
double factorial(int N);
|
|
|
|
double cdelta(int mother, double param, double psi0);
|
|
|
|
void icwavelet(double *wave, int N, double *scale, int jtot, double dt, double dj, double cdelta, double psi0, double *oup);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* WAVELIB_H_ */
|
|
|
|
|