Changeset 27435 for trunk/Ohana/src/relphot/include/relphot.h
- Timestamp:
- Mar 24, 2010, 11:22:25 AM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/relphot/include/relphot.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/20091201/Ohana merged eligible /branches/eam_branches/largefiles.20100314/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/relphot/include/relphot.h
r21508 r27435 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 { … … 110 102 111 103 # ifdef GRID_V1 112 int setGridMeasure ( int meas, int cat, double X, double Y);104 int setGridMeasure (off_t meas, int cat, double X, double Y); 113 105 # endif 114 106 115 107 # ifdef GRID_V2 116 int setGridMeasure ( int meas, int cat, double X, double Y, int ccdnum);108 int setGridMeasure (off_t meas, int cat, double X, double Y, int ccdnum); 117 109 # endif 118 110 … … 122 114 char *GetPhotnamebyCode PROTO((PhotCodeData *photcodes, int code)); 123 115 void InterpolateGrid PROTO((float *buffer, int Nx, int Ny, Coords *ccd, Coords *gcoords)); 124 int *SelectRefMosaic PROTO((Mosaic **refmosaic, int *Nimage));116 off_t *SelectRefMosaic PROTO((Mosaic **refmosaic, off_t *Nimage)); 125 117 int args PROTO((int argc, char **argv)); 126 118 int bcatalog PROTO((Catalog *subcatalog, Catalog *catalog)); … … 137 129 138 130 void set_db (FITS_DB *in); 139 int Shutdown (char *format, ...) ;131 int Shutdown (char *format, ...) OHANA_FORMAT(printf, 1, 2) ; 140 132 void TrapSignal (int sig); 141 133 void SetProtect (int mode); … … 147 139 void free_catalogs PROTO((Catalog *catalog, int Ncatalog)); 148 140 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));141 Coords *getCoords PROTO((off_t meas, int cat)); 142 off_t getImageEntry PROTO((off_t meas, int cat)); 143 float getMcal PROTO((off_t meas, int cat)); 144 float getMgrid PROTO((off_t meas, int cat)); 145 float getMmos PROTO((off_t meas, int cat)); 146 float getMrel PROTO((Catalog *catalog, off_t meas, int cat)); 147 Image *getimage PROTO((off_t N)); 148 Image *getimages PROTO((off_t *N)); 157 149 void global_stats PROTO((Catalog *catalog, int Ncatalog)); 158 150 void initGrid PROTO((int dX, int dY)); 159 151 void initGridBins PROTO((Catalog *catalog, int Ncatalog)); 160 152 void initImageBins PROTO((Catalog *catalog, int Ncatalog)); 161 void initImages PROTO((Image *input, int N));153 void initImages PROTO((Image *input, off_t N)); 162 154 void initMosaicBins PROTO((Catalog *catalog, int Ncatalog)); 163 void initMosaicGrid PROTO((Image *image, int Nimage));164 void initMosaics PROTO((Image *image, int Nimage));155 void initMosaicGrid PROTO((Image *image, off_t Nimage)); 156 void initMosaics PROTO((Image *image, off_t Nimage)); 165 157 void initMrel PROTO((Catalog *catalog, int Ncatalog)); 166 158 void initialize PROTO((int argc, char **argv)); … … 169 161 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog)); 170 162 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));163 Image *select_images PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage)); 172 164 173 165 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));166 void mark_images PROTO((Image *image, off_t Nimage, Image *timage, off_t Ntimage)); 167 void matchImage PROTO((Catalog *catalog, off_t meas, int cat)); 168 void matchMosaics PROTO((Catalog *catalog, off_t meas, int cat)); 177 169 double opening_angle PROTO((double x1, double y1, double x2, double y2, double x3, double y3)); 178 170 void plot_chisq PROTO((Catalog *catalog, int Ncatalog)); … … 180 172 void plot_grid PROTO((Catalog *catalog)); 181 173 void plot_images PROTO((void)); 182 void plot_list PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) );174 void plot_list PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) OHANA_FORMAT(printf, 6, 7) ); 183 175 void plot_mosaic_fields PROTO((Catalog *catalog)); 184 176 void plot_mosaics PROTO((void)); … … 199 191 int setMave PROTO((Catalog *catalog, int Ncatalog)); 200 192 void set_ZP PROTO((double ZERO)); 201 int setrefcode PROTO((Image *image, int Nimage));193 int setrefcode PROTO((Image *image, off_t Nimage)); 202 194 void skip_measurements PROTO((Catalog *catalog, int pass)); 203 195 void sortA PROTO((double *X, int N));
Note:
See TracChangeset
for help on using the changeset viewer.
