(file) Return to tinterpolate.h CVS log (file) (dir) Up to [Development] / JSOC / proj / libs / interpolate

 1 schou 1.2 #define tavg_boxcar 1
 2           #define tavg_cosine 2
 3           #define tavg_fourth 3
 4           #define tavg_hathaway 4
 5           
 6 arta  1.1 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 schou 1.6   char **filenamep, // Pointer to name of file to read covariance from.
19 arta  1.1                    // Set to actual file used if method > 0.
20 arta  1.8   float fillval, // Value to use if not enough points present
21             const char *path // to data files read by this function.
22 arta  1.1 );
23           
24 schou 1.2 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 schou 1.3   double tspace, // Spacing of times to interpolate to
41 schou 1.4   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 schou 1.7   double par2, // In units of tspace. Meaning depends on avmethod.
44 arta  1.8   float fillval, // Value to use if not enough points present
45             const char *path // to data files read by this function.
46 schou 1.2 );
47           
48 schou 1.5 char *tinterpolate_version(); // Returns CVS version of tinterpolate.c
49           

Karen Tian
Powered by
ViewCVS 0.9.4