IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2014, 2:42:32 PM (12 years ago)
Author:
eugene
Message:

add support for PS1_V4 alt format; fix some dvomerge issues; split lists for psf, aper, kron mag averages

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

    • Property svn:mergeinfo deleted
  • trunk/Ohana/src/libdvo/include/dvo.h

    r36490 r36528  
    412412} MeasureTiny;
    413413
     414/** STRUCT DEFINITION **/
     415typedef struct {
     416  double           R;                    // RA (decimal degrees )
     417  double           D;                    // DEC (decimal degrees )
     418  float            dR;                   // RA error (arcsec)
     419  float            dD;                   // DEC error (arcsec)
     420  float            uR;                   // RA*cos(D) proper-motion (arcsec/year)
     421  float            uD;                   // DEC proper-motion (arcsec/year)
     422  float            duR;                  // RA*cos(D) p-m error (arcsec/year)
     423  float            duD;                  // DEC p-m error (arcsec/year)
     424  float            P;                    // parallax (arcsec)
     425  float            dP;                   // parallax error (arcsec)
     426  float            ChiSqAve;             // astrometry analysis chisq
     427  float            ChiSqPM;              // astrometry analysis chisq
     428  float            ChiSqPar;             // astrometry analysis chisq
     429  int              Tmean;                // mean epoch (PM,PAR ref) (unix time seconds)
     430  int              Trange;               // mean epoch (PM,PAR ref) (unix time seconds)
     431  float            Xp;                   // unused
     432  unsigned short   Npos;                 // number of detections used for astrometry
     433  unsigned short   Nmeasure;             // number of psf measurements
     434  unsigned short   Nmissing;             // number of missings
     435  unsigned short   Nextend;              // number of extended measurements
     436  uint32_t         measureOffset;        // offset to first psf measurement
     437  uint32_t         missingOffset;        // offset to first missing obs
     438  uint32_t         extendOffset;         // offset to first extended measurement
     439  uint32_t         flags;                // average object flags (star; ghost; etc)
     440  uint32_t         photFlagsUpper;       // upper bit of 2 bit summary of per-measure photflags
     441  uint32_t         photFlagsLower;       // lower bit of 2 bit summary of per-measure photflags
     442  unsigned int     objID;                // unique ID for object in table
     443  unsigned int     catID;                // unique ID for table in which object was first realized
     444  uint64_t         extID;                // external ID for object (eg PSPS objID)
     445} Average_PS1_V4alt;
     446
     447Average_PS1_V4alt *gfits_table_get_Average_PS1_V4alt (FTable *table, off_t *Ndata, char *swapped);
     448Average *Average_PS1_V4alt_ToInternal (Average_PS1_V4alt *in, off_t Nvalues);
    414449
    415450/** STRUCT DEFINITION **/
     
    592627
    593628float PhotAperInst (Measure *measure);
     629float PhotAperAve (PhotCode *code, Average *average, SecFilt *secfilt);
    594630float PhotKronInst (Measure *measure);
    595631float PhotKronAve (PhotCode *code, Average *average, SecFilt *secfilt);
Note: See TracChangeset for help on using the changeset viewer.