Changeset 4797 for trunk/Ohana/src/uniphot/include/uniphot.h
- Timestamp:
- Aug 16, 2005, 3:01:26 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/uniphot/include/uniphot.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/uniphot/include/uniphot.h
r3466 r4797 1 1 # include <ohana.h> 2 2 # include <dvo.h> 3 4 # ifdef ANSI 5 # define F_SETFL 4 6 # define O_NONBLOCK 0200000 7 # define AF_UNIX 1 8 # define SOCK_STREAM 1 9 #define ENOENT 2 /* No such file or directory */ 10 # endif /* ANSI */ 3 11 4 12 typedef struct { … … 48 56 enum {black, white, red, orange, yellow, green, blue, indigo, violet}; 49 57 58 typedef struct { 59 double xmin, xmax, ymin, ymax; 60 int style, ptype, ltype, etype, color; 61 double lweight, size; 62 } Graphdata; 63 50 64 /***** prototypes ****/ 51 Group *find_image_tgroups (Image *image, ImageLink *imlink, int Nimage, int *Ntgroup); 52 Group *find_image_sgroups (Image *image, ImageLink *imlink, int Nimage, int *Nsgroup); 53 Image *load_images (int *nimage); 54 char *sec_to_date (unsigned long second); 55 double sec_to_jd (unsigned long second); 56 int main (int argc, char **argv); 57 int args (int argc, char **argv); 58 int liststats (double *value, double *dvalue, int N, StatType *stats); 59 int dms_to_ddd (double *Value, char *string); 60 int str_to_radec (double *ra, double *dec, char *str1, char *str2); 61 int chk_time (char *line); 62 int str_to_time (char *line, unsigned int *second); 63 int str_to_dtime (char *line, double *second); 64 int Fseek (FILE *f, long offset, int whence); 65 unsigned long int jd_to_sec (double jd); 66 unsigned long date_to_sec (char *date); 67 void initialize (int argc, char **argv); 68 void ConfigInit (int *argc, char **argv); 69 void fit_tgroup (Group *tgroup, int Ntgroup); 70 void fit_sgroup (Group *sgroup, int Nsgroup); 71 void initstats (char *mode); 72 void sort (unsigned int *X, int N); 73 void sortB (double *X, double *Y, int N); 74 void sortD (double *X, double *Y, double *Z, int N); 65 void ConfigInit PROTO((int *argc, char **argv)); 66 void DonePlotting PROTO((Graphdata *graphmode, int N)); 67 int Fseek PROTO((FILE *f, long offset, int whence)); 68 void JpegPlot PROTO((Graphdata *graphmode, int N, char *filename)); 69 void PSPlot PROTO((Graphdata *graphmode, int N, char *filename)); 70 void PlotLabel PROTO((char *string, int N)); 71 void PlotVector PROTO((int Npts, double *vect, int mode, int N)); 72 void PrepPlotting PROTO((int Npts, Graphdata *graphmode, int N)); 73 void XDead PROTO(()); 74 int args PROTO((int argc, char **argv)); 75 int chk_time PROTO((char *line)); 76 unsigned long date_to_sec PROTO((char *date)); 77 int dms_to_ddd PROTO((double *Value, char *string)); 78 void dumpresult PROTO(()); 79 Group *find_image_sgroups PROTO((Image *image, ImageLink *imlink, int Nimage, int *Nsgroup)); 80 Group *find_image_tgroups PROTO((Image *image, ImageLink *imlink, int Nimage, int *Ntgroup)); 81 void fit_sgroup PROTO((Group *sgroup, int Nsgroup)); 82 void fit_tgroup PROTO((Group *tgroup, int Ntgroup)); 83 int gcatalog PROTO((Catalog *catalog)); 84 void initialize PROTO((int argc, char **argv)); 85 void initstats PROTO((char *mode)); 86 unsigned long jd_to_sec PROTO((double jd)); 87 int liststats PROTO((double *value, double *dvalue, int N, StatType *stats)); 88 Image *load_images PROTO((int *nimage)); 89 int main PROTO((int argc, char **argv)); 90 int open_graph PROTO((int N)); 91 char *sec_to_date PROTO((unsigned long second)); 92 double sec_to_jd PROTO((unsigned long second)); 93 void sort PROTO((unsigned int *X, int N)); 94 void sortB PROTO((double *X, double *Y, int N)); 95 void sortD PROTO((double *X, double *Y, double *Z, int N)); 96 int str_to_dtime PROTO((char *line, double *second)); 97 int str_to_radec PROTO((double *ra, double *dec, char *str1, char *str2)); 98 int str_to_time PROTO((char *line, unsigned int *second)); 99 void update PROTO((Image *image, int Nimage, Group *sgroup, int Nsgroup)); 100 void update_catalog PROTO((Catalog *catalog, Group *sgroup, int warn)); 101 void wcatalog PROTO((Catalog *catalog)); 102 void wimages PROTO((Image *image, int Nimage));
Note:
See TracChangeset
for help on using the changeset viewer.
