1 // Author: Aime' Fournier
2 // E-mail: fournier@ucar.edu
5 #include "qf.h" // for pqf ...
8 // See 2009/8/4 e-mail from john@michalakes.us
21 void QF_W (char *nam
, // in: filter name
22 int *ran
, // in: filter length
23 int *kin
, // in: 0 (lpf) or 1 (hpf)
24 real
*f
) { // out: filter
26 pqf
*p
; // struct from qf.h
28 p
=qf(nam
,*ran
,*kin
); // assign p
29 //printf("qf_w::qf_w(%s,%d,%d,{",nam,*ran,*kin);
30 for( n
=0; n
<*ran
; n
++ ) {
32 // printf("%9.6g,",f[n]);