IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33446


Ignore:
Timestamp:
Mar 9, 2012, 7:05:32 AM (14 years ago)
Author:
eugene
Message:

clean up the tiny value stuff, put support functions in libdvo; would benefit from autocoding, esp for BrightCatalog stuff

Location:
branches/eam_branches/ipp-20111122/Ohana/src/libdvo
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/Makefile

    r33397 r33446  
    5252$(SRC)/mosaic_astrom.$(ARCH).o   \
    5353$(SRC)/fits_db.$(ARCH).o         \
     54$(SRC)/dvo_tiny_values.$(ARCH).o       \
    5455$(SRC)/dvo_image.$(ARCH).o       \
    5556$(SRC)/dvo_image_raw.$(ARCH).o   \
  • branches/eam_branches/ipp-20111122/Ohana/src/libdvo/include/dvo.h

    r33421 r33446  
    269269} PhotCodeData;
    270270
    271 // a reduced-subset structure for relastro
    272 typedef struct {
    273   double         R;
    274   double         D;
    275   unsigned short Nmeasure;
    276   int            measureOffset;
    277   uint32_t       flags;
    278   int            catID;
    279 } AverageTinyAstro;
     271typedef enum {
     272  DVO_TV_MEASURE = 0x01,
     273  DVO_TV_AVERAGE = 0x02,
     274} DVOTinyValueMode;
     275
     276// XXX DROP? // a reduced-subset structure for relastro
     277// XXX DROP? typedef struct {
     278// XXX DROP?   double         R;
     279// XXX DROP?   double         D;
     280// XXX DROP?   unsigned short Nmeasure;
     281// XXX DROP?   int            measureOffset;
     282// XXX DROP?   uint32_t       flags;
     283// XXX DROP?   int            catID;
     284// XXX DROP? } AverageTinyAstro;
    280285
    281286// a reduced-subset structure for relphot
     
    609614int HostTableWaitJobs (HostTable *table, char *file, int lineno);
    610615
    611 # endif
     616// functions to support tiny versions of Average and Measure
     617void CopyAverageToTiny (AverageTiny *averageT, Average *average);
     618void CopyMeasureToTiny (MeasureTiny *measureT, Measure *measure);
     619int populate_tiny_values (Catalog *catalog, DVOTinyValueMode mode);
     620int free_tiny_values (Catalog *catalog);
     621
     622# endif // DVO_H
     623
Note: See TracChangeset for help on using the changeset viewer.