Changeset 4693 for trunk/Ohana/src/opihi/include/data.h
- Timestamp:
- Aug 1, 2005, 4:54:17 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/data.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/data.h
r4689 r4693 8 8 # define DATA_H 9 9 10 /* socket / pipe communication buffer */ 11 typedef struct { 12 char *buffer; 13 int Nalloc; 14 int Nreset; 15 int Nblock; 16 int Nbuffer; 17 } IOBuffer; 18 19 /*** typedef structs used by math functions ***/ 20 typedef struct { 21 int NLINES; 22 int Nlines; 23 char **lines; 24 char *name; 25 } Queue; 26 10 27 void InitData (); 11 28 12 /* in misc/queues.c */ 29 /* IOBuffersOps.c */ 30 int InitIOBuffer (IOBuffer *buffer, int Nalloc); 31 int FlushIOBuffer (IOBuffer *buffer); 32 int ReadtoIOBuffer (IOBuffer *buffer, int fd); 33 void FreeIOBuffer (IOBuffer *buffer); 34 35 /* in queues.c */ 13 36 void InitQueues (); 14 37 void ListQueues (); … … 18 41 char *PopQueue (Queue *queue); 19 42 20 /* in misc/sort.c */43 /* in sort.c */ 21 44 void sort (double *value, int N); 22 45 void fsort (float *value, int N); … … 27 50 void dsort_lists (double *X, double *Y, int *S, int N); 28 51 29 /* in misc/fft.c */52 /* in fft.c */ 30 53 void fft (float *Data, int N, int isign); 31 54 void fftold (float *Data, int N, int isign); … … 34 57 void fourn (float *data, int *nn, int ndim, int isign); 35 58 36 /* in misc/gaussj.c */59 /* in gaussj.c */ 37 60 int gaussj (double **a, int n, double **b, int m); 38 61 int fgaussj (float **a, int n, float **b, int m); 39 62 40 /* in misc/svdcmp.c */63 /* in svdcmp.c */ 41 64 int svdcmp (float *a, float *w, float *v, int Nx, int Ny); 42 65 43 /* in misc/spline.c */66 /* in spline.c */ 44 67 void spline (float *x, float *y, int N, float *y2); 45 68 float splint (float *x, float *y, float *y2, int N, float X); 46 69 47 /* m isc/mrqmin.c */70 /* mrqmin.c */ 48 71 float mrqcof (float *x, float *y, float *dy, int Npts, 49 72 float *par, int Npar, float **ta, float **tb, … … 62 85 void mrqfree (int Npar); 63 86 64 /* m isc/mrq2dmin.c */87 /* mrq2dmin.c */ 65 88 float mrq2dcof (float *x, float *t, float *y, float *dy, int Npts, 66 89 float *par, int Npar, float **ta, float **tb, … … 85 108 void mrq2dfree (int Npar); 86 109 87 /* misc/powell.c */110 /* powell.c */ 88 111 void powell (float *p, int Npar, float (func)() ); 89 112 90 /* misc/gaussian.c */113 /* gaussian.c */ 91 114 double gaussian (double x, double mean, double sigma); 92 115 void gauss_init (int Nbin); 93 116 double rnd_gauss (double mean, double sigma); 94 117 95 /* misc/starfuncs.c */118 /* starfuncs.c */ 96 119 double get_aperture_stats (Matrix *matrix, int X, int Y, int Npix, int Nborder, double max); 97 120 int set_rough_radii (double Ra, double Ri, double Ro); 98 121 int get_rough_star (float *data, int Nx, int Ny, int x, int y, float *xc, float *yc, float *sx, float *sy, float *sxy, float *zs, float *zp, float *sk); 99 122 100 /* misc/precess.c */123 /* precess.c */ 101 124 double BtoJ (double in_epoch); 102 125 double get_epoch (char *in_epoch, char mode); 103 126 104 /* misc/graphtools.c */127 /* graphtools.c */ 105 128 void SetLimits PROTO((Vector *xvec, Vector *yvec, Graphdata *graphmode)); 106 129 void ApplyLimits PROTO((int Xgraph, Graphdata *graphmode, int apply));
Note:
See TracChangeset
for help on using the changeset viewer.
