STFINV library: seek source wavelet correction filter
fd.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------
2  * fd.h - include file for FD programs
3  *
4  * Copyright (c) 2011 by Thomas Bohlen (KIT Karlsruhe) and Lisa Rehor (KIT Karlsruhe)
5  *
6  * This file was copied from the DENISE code and adjusted for its use
7  * in this test programme.
8  *
9  * ----
10  * DENISE is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * DENISE is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23  *
24  * ---------------------------------------------------------------------*/
25 
26 /* files to include */
27 #include <stdio.h>
28 #include <math.h>
29 #include <stdlib.h>
30 #include <stddef.h>
31 #include <string.h>
32 #include <time.h>
33 
34 #define iround(x) ((int)(floor)(x+0.5))
35 #define min(x,y) ((x<y)?x:y)
36 #define max(x,y) ((x<y)?y:x)
37 #define fsign(x) ((x<0.0)?(-1):1)
38 
39 #define PI (3.141592653589793)
40 #define NPAR 50
41 #define STRING_SIZE 74
42 #define REQUEST_COUNT 4
43 
44 
45 /* declaration of functions */
46 void read_parameters(FILE *fp_in);
47 
48 
49 
void read_parameters(FILE *fp_in)