IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2007, 4:39:53 PM (19 years ago)
Author:
eugene
Message:

remove the concept of primary / secondary photcodes: all average mags go into the secfilt table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dvo-mods-2007-02/Ohana/src/libdvo/include/dvo.h

    r12011 r12031  
    3939
    4040/* photometry code types */
    41 # define PHOT_PRI 0x01
     41// # define PHOT_PRI 0x01
    4242# define PHOT_SEC 0x02
    4343# define PHOT_DEP 0x03
     
    133133
    134134typedef struct {
    135   int Ncode;
    136   int Nsecfilt;
    137   int hashcode[0x10000];
    138   int hashNsec[0x10000];
     135  int Ncode;                                      // number of photcodes
     136  int Nsecfilt;                                   // number of average magnitudes
     137  int hashcode[0x10000];                  // index from photcode value to sequence
     138  int hashNsec[0x10000];                  // index from photcode value to Nsec seq
     139  int codeNsec[0x10000];                  // index from Nsec seq to photcode value
    139140  PhotCode *code;
    140141} PhotCodeData;
     
    235236int PhotColor (Average *average, SecFilt *secfilt, Measure *measure, int c1, int c2, double *color);
    236237
    237 int LoadPhotcodes (char *filename);
     238PhotCodeData *GetPhotcodeTable ();
     239
     240int LoadPhotcodes (char *catdir_file, char *master_file);
     241int LoadPhotcodesText (char *filename);
     242int LoadPhotcodesFITS (char *filename);
     243
    238244int GetPhotcodeCodebyName (char *name);
    239245int GetPhotcodeEquivCodebyName (char *name);
Note: See TracChangeset for help on using the changeset viewer.