mirror of
https://github.com/simon987/wavelib.git
synced 2025-04-10 14:06:46 +00:00
commit : "haar" added to MODWT
This commit is contained in:
parent
87c0e462dc
commit
1b34b65fb6
@ -70,11 +70,13 @@ wt_object wt_init(wave_object wave,char* method, int siglength,int J) {
|
||||
}
|
||||
else if (!strcmp(method, "modwt") || !strcmp(method, "MODWT")) {
|
||||
|
||||
if (!strstr(wave->wname,"db")) {
|
||||
if (!strstr(wave->wname, "sym")) {
|
||||
if (!strstr(wave->wname, "coif")) {
|
||||
printf("\n MODWT is only implemented for orthogonal wavelet families - db, sym and coif \n");
|
||||
exit(-1);
|
||||
if (!strstr(wave->wname,"haar")) {
|
||||
if (!strstr(wave->wname,"db")) {
|
||||
if (!strstr(wave->wname, "sym")) {
|
||||
if (!strstr(wave->wname, "coif")) {
|
||||
printf("\n MODWT is only implemented for orthogonal wavelet families - db, sym and coif \n");
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user