1 |
#define tavg_boxcar 1 |
2 |
#define tavg_cosine 2 |
3 |
#define tavg_fourth 3 |
4 |
#define tavg_hathaway 4 |
5 |
|
6 |
int tinterpolate( |
7 |
int nsample, // Number of input times |
8 |
double *tsample, // Input times |
9 |
double tint, // Target time |
10 |
int nconst, // Number of polynomial terms exactly reproduced |
11 |
float **images, // Pointer array to input images |
12 |
unsigned char **masks, // Pointer array to input masks. 0=good, 1= missing |
13 |
float *image_out, // Interpolated image |
14 |
int nx, // Number of points in dimension adjacent in memory |
15 |
int ny, // Number of points in dimension not adjacent in memory |
16 |
int nlead, // Leading dimension of arrays. nlead>=nx |
17 |
int method, // Interpolation method |
18 |
char **filenamep, // Pointer to name of file to read covariance from. |
19 |
// Set to actual file used if method > 0. |
20 |
float fillval, // Value to use if not enough points present |
21 |
const char *path // to data files read by this function. |
22 |
); |
23 |
|
24 |
int taverage( |
25 |
int nsample, // Number of input times |
26 |
double *tsample, // Input times |
27 |
double tint, // Target time |
28 |
int nconst, // Number of polynomial terms exactly reproduced |
29 |
float **images, // Pointer array to input images |
30 |
unsigned char **masks, // Pointer array to input masks. 0=good, 1= missing |
31 |
float *image_out, // Interpolated image |
32 |
int nx, // Number of points in dimension adjacent in memory |
33 |
int ny, // Number of points in dimension not adjacent in memory |
34 |
int nlead, // Leading dimension of arrays. nlead>=nx |
35 |
int method, // Interpolation method |
36 |
char **filenamep, // Pointer to name of file to read covariance from. |
37 |
// Set to actual file used if method > 0. |
38 |
int avmethod, // averaging method |
39 |
int order, // Interpolation order |
40 |
double tspace, // Spacing of times to interpolate to |
41 |
int hwidth, // Window width in units of tspace. Total width is 2*hwidth+1 |
42 |
double par1, // In units of tspace. Meaning depends on avmethod. |
43 |
double par2, // In units of tspace. Meaning depends on avmethod. |
44 |
float fillval, // Value to use if not enough points present |
45 |
const char *path // to data files read by this function. |
46 |
); |
47 |
|
48 |
char *tinterpolate_version(); // Returns CVS version of tinterpolate.c |
49 |
|