- Timestamp:
- Sep 19, 2014, 4:05:27 PM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/Ohana
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/Ohana/src/relastro/include/relastro.h
r36680 r37403 5 5 # include <assert.h> 6 6 # include <pthread.h> 7 8 # define MARKTIME(MSG,...) { \9 gettimeofday (&stopTimer, (void *) NULL); \10 float dtime = DTIME (stopTimer, startTimer); \11 fprintf (stderr, MSG, __VA_ARGS__); }12 13 # define INITTIME \14 struct timeval startTimer, stopTimer; \15 gettimeofday (&startTimer, (void *) NULL);16 7 17 8 // choose off_t or int depending on full-scale relphot analysis resources … … 83 74 double L, M; /* Focal Plane - pixels */ 84 75 double X, Y; /* Chip Coords - pixels */ 85 double Mag; 86 double dMag; 87 double dPos; 76 float Mag; 77 float ColorBlue; 78 float ColorRed; 79 float dMag; 80 float dPos; 88 81 int mask; 89 82 int Nmeas; … … 140 133 int Nmeas; 141 134 } StatType; 135 136 typedef struct { 137 off_t Nave; 138 off_t Npm; 139 off_t Npar; 140 off_t Nskip; 141 off_t Noffset; 142 } FitStats; 142 143 143 144 /* global variables set in parameter file */ … … 207 208 double MaxDensityValue; 208 209 209 char *PHOTCODE_KEEP_LIST, *PHOTCODE_SKIP_LIST ;210 int NphotcodesKeep, NphotcodesSkip ;211 PhotCode **photcodesKeep, **photcodesSkip ;210 char *PHOTCODE_KEEP_LIST, *PHOTCODE_SKIP_LIST, *PHOTCODE_RESET_LIST; 211 int NphotcodesKeep, NphotcodesSkip, NphotcodesReset; 212 PhotCode **photcodesKeep, **photcodesSkip, **photcodesReset; 212 213 213 214 char *PHOTCODE_A_LIST, *PHOTCODE_B_LIST; … … 217 218 SkyRegionSelection SELECTION; 218 219 220 char *DCR_BLUE_COLOR_POS, *DCR_BLUE_COLOR_NEG; 221 PhotCode *DCR_BLUE_PHOTCODE_POS, *DCR_BLUE_PHOTCODE_NEG; 222 int DCR_BLUE_NSEC_POS, DCR_BLUE_NSEC_NEG; 223 224 char *DCR_RED_COLOR_POS, *DCR_RED_COLOR_NEG; 225 PhotCode *DCR_RED_PHOTCODE_POS, *DCR_RED_PHOTCODE_NEG; 226 int DCR_RED_NSEC_POS, DCR_RED_NSEC_NEG; 227 219 228 int ImagSelect; 220 229 double ImagMin, ImagMax; … … 233 242 int CLIP_THRESH; 234 243 int USE_BASIC_CHECK; 244 245 int ExcludeBogus; 246 double ExcludeBogusRadius; 235 247 236 248 FitMode FIT_MODE; … … 307 319 int liststats PROTO((double *value, double *dvalue, int N, StatType *stats)); 308 320 int liststats_pos PROTO((double *value, double *dvalue, int N, StatType *stats, int XVERB)); 309 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog, int subselect, int hostID, char *hostpath ));321 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog, int subselect, int hostID, char *hostpath, char *syncfile)); 310 322 int load_images PROTO((FITS_DB *db, SkyList *skylist, int UseFullOverlap)); 311 323 Image *select_images PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage, int UseFullOverlap)); … … 417 429 int setMeanR (double ra_fit, MeasureTiny *measure, Average *average, SecFilt *secfilt); 418 430 int setMeanD (double dec_fit, MeasureTiny *measure, Average *average, SecFilt *secfilt); 431 double getMeanR_Big (Measure *measure, Average *average, SecFilt *secfilt); 432 double getMeanD_Big (Measure *measure, Average *average, SecFilt *secfilt); 419 433 int setMeanR_Big (double ra_fit, Measure *measure, Average *average, SecFilt *secfilt); 420 434 int setMeanD_Big (double dec_fit, Measure *measure, Average *average, SecFilt *secfilt); … … 521 535 int ImageTableSave (char *filename, Image *images, off_t Nimages); 522 536 int select_mosaics_hostregion (RegionHostTable *regionHosts, Image *image, off_t Nimage); 537 538 float getColorBlue (off_t meas, int cat); 539 float getColorRed (off_t meas, int cat); 540 541 int strextend (char *input, char *format,...); 542 543 int areImagesLoaded (); 544 int areImagesMatched (); 545 546 int isGPC1chip (int photcode); 547 int isGPC1stack (int photcode); 548 int isGPC1warp (int photcode);
Note:
See TracChangeset
for help on using the changeset viewer.
