- Timestamp:
- Mar 17, 2010, 2:52:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/relastro/include/relastro.h
r24308 r27312 140 140 char *GetPhotnamebyCode PROTO((PhotCodeData *photcodes, int code)); 141 141 void InterpolateGrid PROTO((float *buffer, int Nx, int Ny, Coords *ccd, Coords *gcoords)); 142 int *SelectRefMosaic PROTO((Mosaic **refmosaic, int *Nimage));142 off_t *SelectRefMosaic PROTO((Mosaic **refmosaic, off_t *Nimage)); 143 143 int args PROTO((int argc, char **argv)); 144 144 int bcatalog PROTO((Catalog *subcatalog, Catalog *catalog)); … … 153 153 void findImages PROTO((Catalog *catalog, int Ncatalog)); 154 154 int findMosaics PROTO((Catalog *catalog, int Ncatalog)); 155 Image *find_images PROTO((FITS_DB *db, GSCRegion *region, int Nregion, int *Nimage, int **LineNum));155 Image *find_images PROTO((FITS_DB *db, GSCRegion *region, off_t Nregion, off_t *Nimage, off_t **LineNum)); 156 156 void set_db (FITS_DB *in); 157 157 int Shutdown (char *format, ...); … … 160 160 int SetSignals (void); 161 161 162 GSCRegion *find_regions PROTO((Image *image, int Nimage, int *Nregions, GSCRegion *fullregion));162 GSCRegion *find_regions PROTO((Image *image, off_t Nimage, int *Nregions, GSCRegion *fullregion)); 163 163 void freeGridBins PROTO((int Ncatalog)); 164 164 void freeImageBins PROTO((int Ncatalog)); … … 166 166 void free_catalogs PROTO((Catalog *catalog, int Ncatalog)); 167 167 int gcatalog PROTO((Catalog *catalog, int FINAL)); 168 Coords *getCoords PROTO(( int meas, int cat));169 float getMcal PROTO(( int meas, int cat));170 float getMgrid PROTO(( int meas, int cat));171 float getMmos PROTO(( int meas, int cat));172 float getMrel PROTO((Catalog *catalog, int meas, int cat));173 GSCRegion *get_regions PROTO((double minRa, double maxRa, double minDec, double maxDec, int *Nregions));174 void getfullregion PROTO((Image *image, int Nimage, GSCRegion *fullregion));175 Image *getimage PROTO(( int N));176 Image *getimages PROTO(( int *N));168 Coords *getCoords PROTO((off_t meas, int cat)); 169 float getMcal PROTO((off_t meas, int cat)); 170 float getMgrid PROTO((off_t meas, int cat)); 171 float getMmos PROTO((off_t meas, int cat)); 172 float getMrel PROTO((Catalog *catalog, off_t meas, int cat)); 173 GSCRegion *get_regions PROTO((double minRa, double maxRa, double minDec, double maxDec, off_t *Nregions)); 174 void getfullregion PROTO((Image *image, off_t Nimage, GSCRegion *fullregion)); 175 Image *getimage PROTO((off_t N)); 176 Image *getimages PROTO((off_t *N)); 177 177 void global_stats PROTO((Catalog *catalog, int Ncatalog)); 178 178 void initGrid PROTO((int dX, int dY)); 179 179 void initGridBins PROTO((Catalog *catalog, int Ncatalog)); 180 180 void initImageBins PROTO((Catalog *catalog, int Ncatalog)); 181 void initImages PROTO((Image *input, int N));181 void initImages PROTO((Image *input, off_t N)); 182 182 void initMosaicBins PROTO((Catalog *catalog, int Ncatalog)); 183 void initMosaicGrid PROTO((Image *image, int Nimage));184 void initMosaics PROTO((Image *image, int Nimage));183 void initMosaicGrid PROTO((Image *image, off_t Nimage)); 184 void initMosaics PROTO((Image *image, off_t Nimage)); 185 185 void initMrel PROTO((Catalog *catalog, int Ncatalog)); 186 186 void initialize PROTO((int argc, char **argv)); … … 189 189 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog, int subselect)); 190 190 SkyList *load_images PROTO((FITS_DB *db, SkyRegion *region)); 191 Image *select_images PROTO((SkyList *skylist, Image *timage, int Ntimage, int **LineNumber, int *Nimage));191 Image *select_images PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage)); 192 192 193 193 void check_permissions (char *basefile); … … 198 198 199 199 int main PROTO((int argc, char **argv)); 200 void mark_images PROTO((Image *image, int Nimage, Image *timage, int Ntimage));201 void matchImage PROTO((Catalog *catalog, int meas, int cat));202 void matchMosaics PROTO((Catalog *catalog, int meas, int cat));203 GSCRegion *name_region PROTO((char *name, int *Nregions));200 void mark_images PROTO((Image *image, off_t Nimage, Image *timage, off_t Ntimage)); 201 void matchImage PROTO((Catalog *catalog, off_t meas, int cat)); 202 void matchMosaics PROTO((Catalog *catalog, off_t meas, int cat)); 203 GSCRegion *name_region PROTO((char *name, off_t *Nregions)); 204 204 double opening_angle PROTO((double x1, double y1, double x2, double y2, double x3, double y3)); 205 205 void plot_chisq PROTO((Catalog *catalog, int Ncatalog)); … … 224 224 int setMrelOutput PROTO((Catalog *catalog, int Ncatalog, int mark)); 225 225 void set_ZP PROTO((double ZERO)); 226 int setrefcode PROTO((Image *image, int Nimage));226 int setrefcode PROTO((Image *image, off_t Nimage)); 227 227 void skip_measurements PROTO((Catalog *catalog, int pass)); 228 228 void sortA PROTO((double *X, int N)); … … 268 268 int UpdateMosaic (Catalog *catalog, int Ncatalog); 269 269 int UpdateMeasures (Catalog *catalog, int Ncatalog); 270 void fixImageRaw (Catalog *catalog, int Ncatalog, int im);270 void fixImageRaw (Catalog *catalog, int Ncatalog, off_t im); 271 271 void FlagOutliers(Catalog *catalog); 272 272 int MeasFilterTest(Measure *measure); … … 278 278 int FitPMandPar (PMFit *fit, double *X, double *dX, double *Y, double *dY, double *T, double *pR, double *pD, int Npts); 279 279 280 Mosaic *getMosaicForImage ( int N);281 282 StarData *getImageRef (Catalog *catalog, int Ncatalog, int im, int *Nstars, CoordMode mode);283 StarData *getImageRaw (Catalog *catalog, int Ncatalog, int im, int *Nstars, CoordMode mode);284 285 Mosaic *getmosaics ( int *N);286 void initMosaics (Image *image, int Nimage);287 StarData *getMosaicRaw (Catalog *catalog, int Ncatalog, int mos, int *Nstars);288 StarData *getMosaicRef (Catalog *catalog, int Ncatalog, int mos, int *Nstars);289 Mosaic *getMosaicForImage ( int im);280 Mosaic *getMosaicForImage (off_t N); 281 282 StarData *getImageRef (Catalog *catalog, int Ncatalog, off_t im, off_t *Nstars, CoordMode mode); 283 StarData *getImageRaw (Catalog *catalog, int Ncatalog, off_t im, off_t *Nstars, CoordMode mode); 284 285 Mosaic *getmosaics (off_t *N); 286 void initMosaics (Image *image, off_t Nimage); 287 StarData *getMosaicRaw (Catalog *catalog, int Ncatalog, off_t mos, off_t *Nstars); 288 StarData *getMosaicRef (Catalog *catalog, int Ncatalog, off_t mos, off_t *Nstars); 289 Mosaic *getMosaicForImage (off_t im); 290 290 291 291 double getMeanR (Measure *measure, Average *average, SecFilt *secfilt); … … 297 297 int relastro_objects (void); 298 298 int UpdateObjectOffsets (SkyList *skylist); 299 300 int relastroVisualPlotRawRef(StarData *raw, StarData *ref, double dRmax, int numObj); 301 int relastroVisualPlotScatter(double values[], double thresh, int npts); 302 int relastroVisualPlotOutliers(Catalog *catalog, int offset, int Nmeasure, 303 StatType statsR, StatType statsD, double thresh); 304
Note:
See TracChangeset
for help on using the changeset viewer.
