- Timestamp:
- Feb 15, 2012, 2:30:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/relphot/include/relphot.h
r33254 r33274 41 41 42 42 typedef struct { 43 AverageTiny *average;44 MeasureTiny *measure;45 SecFilt *secfilt;46 off_tNaverage;47 off_tNmeasure;43 AverageTiny *average; // array of (minimal) average data 44 MeasureTiny *measure; // array of (minimal) measure data 45 SecFilt *secfilt; // array of secfilt data (matched to average by Nsecfilt) 46 off_t Naverage; 47 off_t Nmeasure; 48 48 } BrightCatalog; 49 49 … … 57 57 unsigned char trate; 58 58 } ImageSubset; 59 60 typedef struct { 61 Catalog *catalog; // array of catalogs generated 62 int NCATALOG; // number of catalogs allocated 63 int Ncatalog; // number of catalogs generated 64 int Nsecfilt; // number of catalogs generated 65 off_t *NAVERAGE; // allocated Averages per catalog 66 off_t *NMEASURE; // allocated Measures per catalog 67 int *index; // lookup table catID -> catalog[i] 68 int *catIDs; // lookup table catID <- catalog[i] 69 int maxID; // max catID value to date 70 } CatalogSplitter; 59 71 60 72 /* global variables set in parameter file */ … … 85 97 double IMFIT_SYS_SIGMA_LIM; 86 98 double CLOUD_TOLERANCE; 99 100 int PARALLEL; 101 int PARALLEL_MANUAL; 87 102 88 103 int VERBOSE; … … 144 159 145 160 SkyRegion UserPatch; 146 int UserPatchSelect;161 char *UserCatalog; 147 162 148 163 int USE_BASIC_CHECK; … … 214 229 Catalog *load_catalogs_parallel PROTO((SkyList *sky, int *Ncatalog)); 215 230 216 SkyList *load_images PROTO((FITS_DB *db, char *regionName, SkyRegion *region , int RegionSelect));231 SkyList *load_images PROTO((FITS_DB *db, char *regionName, SkyRegion *region)); 217 232 Image *select_images PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage)); 218 233 … … 285 300 int BrightCatalogSave(char *filename, BrightCatalog *catalog); 286 301 BrightCatalog *BrightCatalogMerge (Catalog *catalog, int Ncatalog); 302 CatalogSplitter *BrightCatalogSplitInit (int Nsecfilt); 303 int BrightCatalogSplitFree (CatalogSplitter *catalogs); 304 int BrightCatalogSplit (CatalogSplitter *catalogs, BrightCatalog *bcatalog); 287 305 288 306 int ImageSubsetSave(char *filename, ImageSubset *image, off_t Nimage); … … 291 309 int CopyAverageTiny (AverageTiny *averageT, Average *average); 292 310 int CopyMeasureTiny (MeasureTiny *measureT, Measure *measure); 311
Note:
See TracChangeset
for help on using the changeset viewer.
