- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/Ohana/src/relphot/include/relphot.h
r21508 r27840 7 7 # define GRID_V2 8 8 # define NO_IMAGE -100 9 10 # if (0)11 typedef struct {12 double xmin, xmax, ymin, ymax;13 int style, ptype, ltype, etype, color;14 double lweight, size;15 } Graphdata;16 # endif17 9 18 10 typedef struct { … … 60 52 61 53 int VERBOSE; 54 int VERBOSE2; 62 55 int MOSAIC_ZEROPT; 63 56 … … 93 86 int PhotSec; 94 87 88 PhotCode *refPhotcode; 89 95 90 int AreaSelect; 96 91 double AreaXmin, AreaXmax, AreaYmin, AreaYmax; … … 110 105 111 106 # ifdef GRID_V1 112 int setGridMeasure ( int meas, int cat, double X, double Y);107 int setGridMeasure (off_t meas, int cat, double X, double Y); 113 108 # endif 114 109 115 110 # ifdef GRID_V2 116 int setGridMeasure ( int meas, int cat, double X, double Y, int ccdnum);111 int setGridMeasure (off_t meas, int cat, double X, double Y, int ccdnum); 117 112 # endif 118 113 … … 122 117 char *GetPhotnamebyCode PROTO((PhotCodeData *photcodes, int code)); 123 118 void InterpolateGrid PROTO((float *buffer, int Nx, int Ny, Coords *ccd, Coords *gcoords)); 124 int *SelectRefMosaic PROTO((Mosaic **refmosaic, int *Nimage));119 off_t *SelectRefMosaic PROTO((Mosaic **refmosaic, off_t *Nimage)); 125 120 int args PROTO((int argc, char **argv)); 126 121 int bcatalog PROTO((Catalog *subcatalog, Catalog *catalog)); … … 137 132 138 133 void set_db (FITS_DB *in); 139 int Shutdown (char *format, ...) ;134 int Shutdown (char *format, ...) OHANA_FORMAT(printf, 1, 2) ; 140 135 void TrapSignal (int sig); 141 136 void SetProtect (int mode); … … 147 142 void free_catalogs PROTO((Catalog *catalog, int Ncatalog)); 148 143 int gcatalog PROTO((Catalog *catalog, int FINAL)); 149 Coords *getCoords PROTO(( int meas, int cat));150 int getImageEntry PROTO((int meas, int cat));151 float getMcal PROTO(( int meas, int cat));152 float getMgrid PROTO(( int meas, int cat));153 float getMmos PROTO(( int meas, int cat));154 float getMrel PROTO((Catalog *catalog, int meas, int cat));155 Image *getimage PROTO(( int N));156 Image *getimages PROTO(( int *N));144 Coords *getCoords PROTO((off_t meas, int cat)); 145 off_t getImageEntry PROTO((off_t meas, int cat)); 146 float getMcal PROTO((off_t meas, int cat)); 147 float getMgrid PROTO((off_t meas, int cat)); 148 float getMmos PROTO((off_t meas, int cat)); 149 float getMrel PROTO((Catalog *catalog, off_t meas, int cat)); 150 Image *getimage PROTO((off_t N)); 151 Image *getimages PROTO((off_t *N)); 157 152 void global_stats PROTO((Catalog *catalog, int Ncatalog)); 158 153 void initGrid PROTO((int dX, int dY)); 159 154 void initGridBins PROTO((Catalog *catalog, int Ncatalog)); 160 155 void initImageBins PROTO((Catalog *catalog, int Ncatalog)); 161 void initImages PROTO((Image *input, int N));156 void initImages PROTO((Image *input, off_t N)); 162 157 void initMosaicBins PROTO((Catalog *catalog, int Ncatalog)); 163 void initMosaicGrid PROTO((Image *image, int Nimage));164 void initMosaics PROTO((Image *image, int Nimage));158 void initMosaicGrid PROTO((Image *image, off_t Nimage)); 159 void initMosaics PROTO((Image *image, off_t Nimage)); 165 160 void initMrel PROTO((Catalog *catalog, int Ncatalog)); 166 161 void initialize PROTO((int argc, char **argv)); … … 169 164 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog)); 170 165 SkyList *load_images PROTO((FITS_DB *db, char *regionName, SkyRegion *region, int RegionSelect)); 171 Image *select_images PROTO((SkyList *skylist, Image *timage, int Ntimage, int **LineNumber, int *Nimage));166 Image *select_images PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage)); 172 167 173 168 int main PROTO((int argc, char **argv)); 174 void mark_images PROTO((Image *image, int Nimage, Image *timage, int Ntimage));175 void matchImage PROTO((Catalog *catalog, int meas, int cat));176 void matchMosaics PROTO((Catalog *catalog, int meas, int cat));169 void mark_images PROTO((Image *image, off_t Nimage, Image *timage, off_t Ntimage)); 170 void matchImage PROTO((Catalog *catalog, off_t meas, int cat)); 171 void matchMosaics PROTO((Catalog *catalog, off_t meas, int cat)); 177 172 double opening_angle PROTO((double x1, double y1, double x2, double y2, double x3, double y3)); 178 173 void plot_chisq PROTO((Catalog *catalog, int Ncatalog)); … … 180 175 void plot_grid PROTO((Catalog *catalog)); 181 176 void plot_images PROTO((void)); 182 void plot_list PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) );177 void plot_list PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) OHANA_FORMAT(printf, 6, 7) ); 183 178 void plot_mosaic_fields PROTO((Catalog *catalog)); 184 179 void plot_mosaics PROTO((void)); … … 199 194 int setMave PROTO((Catalog *catalog, int Ncatalog)); 200 195 void set_ZP PROTO((double ZERO)); 201 int setrefcode PROTO((Image *image, int Nimage));196 int setrefcode PROTO((Image *image, off_t Nimage)); 202 197 void skip_measurements PROTO((Catalog *catalog, int pass)); 203 198 void sortA PROTO((double *X, int N));
Note:
See TracChangeset
for help on using the changeset viewer.
