Changeset 36630 for trunk/Ohana/src/libdvo/include/dvo.h
- Timestamp:
- Apr 1, 2014, 12:03:17 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/libdvo/include/dvo.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/Ohana/src/libdvo/include/dvo.h
r36528 r36630 285 285 } HostTable; 286 286 287 // A RegionHost processes data for some region in parallel with other regions 288 typedef struct RegionHostInfo { 289 double Rmin; // (Rmin,Rmax),(Dmin,Dmax) arehard RA,DEC boundaries of the 290 double Rmax; // region for which each host is responsible. A given host 291 double Dmin; // calibrates the images for which the fiducial point (center) 292 double Dmax; // lands in the region, and all objects in the region 293 294 double RminCat; // (RminCat,RmaxCat),(DminCat,DmaxCat) are the region for which 295 double RmaxCat; // the catalogs need to be loaded : this is the outer bounds 296 double DminCat; // of the region containing all images completely 297 double DmaxCat; 298 299 char *hostname; 300 301 int hostID; // remove machine ID in SkyTable 302 int stdio[3]; // fd's for communication with the remote host 303 int pid; // remote process ID 304 int status; 305 IOBuffer stdout; 306 IOBuffer stderr; 307 308 off_t Nimage; 309 off_t NIMAGE; 310 Image *image; 311 off_t *imseq; 312 313 int *neighbors; // list of neighbor index values 314 int Nneighbors; // number of neighbors 315 char isNeighbor; // TRUE if I am a neighbor to the current region host 316 } RegionHostInfo; 317 318 typedef struct { 319 double Rmin; 320 double Rmax; 321 double Dmin; 322 double Dmax; 323 324 int Nhosts; 325 RegionHostInfo *hosts; 326 short *index; 327 } RegionHostTable; 328 287 329 // special-case function: 288 330 CMF_PS1_V2 *gfits_table_get_CMF_PS1_V1_Alt (FTable *ftable, off_t *Ndata, char *swapped); … … 385 427 uint32_t flags; 386 428 int catID; 429 int objID; 430 int nOwn; 387 431 } AverageTiny; 388 432 … … 410 454 short dYccd; 411 455 short dRsys; 456 char myDet; 412 457 } MeasureTiny; 413 458 … … 555 600 float *X; 556 601 float *Y; 602 int *nOwn; // relastro uses this to count owned detections per object 557 603 558 604 } Catalog; … … 616 662 float PhotInst (Measure *measure); 617 663 float PhotCat (Measure *measure); 618 float PhotAper (Measure *measure);619 float PhotKron (Measure *measure);620 664 float PhotSys (Measure *measure, Average *average, SecFilt *secfilt); 621 665 float PhotRel (Measure *measure, Average *average, SecFilt *secfilt); … … 623 667 float PhotAve (PhotCode *code, Average *average, SecFilt *secfilt); 624 668 float PhotRef (PhotCode *code, Average *average, SecFilt *secfilt, Measure *measure); 669 float PhotAveErr (PhotCode *code, Average *average, SecFilt *secfilt); 670 671 float PhotAperInst (Measure *measure); 672 float PhotAperCat (Measure *measure); 673 float PhotAperSys (Measure *measure, Average *average, SecFilt *secfilt); 674 float PhotAperRel (Measure *measure, Average *average, SecFilt *secfilt); 675 float PhotAperCal (Measure *thisone, Average *average, SecFilt *secfilt, Measure *measure, PhotCode *code); 676 float PhotAperAve (PhotCode *code, Average *average, SecFilt *secfilt); 677 float PhotAperRef (PhotCode *code, Average *average, SecFilt *secfilt, Measure *measure); 678 679 float PhotKronInst (Measure *measure); 680 float PhotKronCat (Measure *measure); 681 float PhotKronSys (Measure *measure, Average *average, SecFilt *secfilt); 682 float PhotKronRel (Measure *measure, Average *average, SecFilt *secfilt); 683 float PhotKronCal (Measure *thisone, Average *average, SecFilt *secfilt, Measure *measure, PhotCode *code); 684 float PhotKronAve (PhotCode *code, Average *average, SecFilt *secfilt); 685 float PhotKronRef (PhotCode *code, Average *average, SecFilt *secfilt, Measure *measure); 686 float PhotKronAveErr (PhotCode *code, Average *average, SecFilt *secfilt); 687 625 688 float PhotXm (PhotCode *code, Average *average, SecFilt *secfilt); 626 float PhotdM (PhotCode *code, Average *average, SecFilt *secfilt);627 628 float PhotAperInst (Measure *measure);629 float PhotAperAve (PhotCode *code, Average *average, SecFilt *secfilt);630 float PhotKronInst (Measure *measure);631 float PhotKronAve (PhotCode *code, Average *average, SecFilt *secfilt);632 float PhotKronAveErr (PhotCode *code, Average *average, SecFilt *secfilt);633 689 634 690 float PhotZeroPoint (Measure *measure, Average *average, SecFilt *secfilt); … … 855 911 void dvo_measureT_init (MeasureTiny *measure); 856 912 913 void InitRegionHosts (RegionHostInfo *hosts, int Nhosts, int NHOSTS); 914 void FreeRegionHosts (RegionHostInfo *hosts, int Nhosts); 915 void FreeRegionHostTable (RegionHostTable *table); 916 RegionHostTable *RegionHostTableLoad (char *catdir, char *rootname); 917 int RegionHostTableWaitJobs (RegionHostTable *regionHosts, char *file, int lineno); 918 int RegionHostTableWaitJobsGetIO (RegionHostTable *regionHosts, char *file, int lineno, int VERBOSE); 919 int RegionHostFindNeighbors (RegionHostTable *table, int Nhost); 920 857 921 # endif // DVO_H
Note:
See TracChangeset
for help on using the changeset viewer.
