IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 23, 2015, 8:27:53 PM (11 years ago)
Author:
eugene
Message:

adding options to apply synthphot zero point offsets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150112/Ohana/src/relphot/include/relphot.h

    r37807 r37876  
    2222  PARALLEL_IMAGES,
    2323  APPLY_OFFSETS,
     24  SYNTH_PHOT,
    2425} RelphotMode;
    2526
     
    2930    MODE_UPDATE = 2,
    3031    MODE_UPDATE_OBJECTS = 3,
     32    MODE_SYNTH_PHOT = 4,
    3133} ModeType;
     34
     35// NOTE: this is only used in special cases where we limit photcode ranges
     36typedef enum {
     37  PS1_none,
     38  PS1_g = 1,
     39  PS1_r = 2,
     40  PS1_i = 3,
     41  PS1_z = 4,
     42  PS1_y = 5,
     43  PS1_w = 6,
     44} PS1filters;
     45
     46typedef struct {
     47  Header PHU;
     48  Header header[5]; // grizy (matches Nsec in photcodes)
     49  Matrix matrix[5];
     50  Coords coords;
     51  int Nx;
     52} SynthZeroPoints;
    3253
    3354typedef struct {
     
    175196char   SKY_TABLE[DVO_MAX_PATH];
    176197int    SKY_DEPTH;  /** XXX EAM : depth of catalog tables, fix usage */
     198char  *SYNTH_ZERO_POINTS;
    177199
    178200// globals for parallel region operations
     
    508530int isGPC1stack (int photcode);
    509531int isGPC1warp  (int photcode);
    510 
    511 
     532int isGPC1synth (int photcode);
     533int whichGPC1filter (int photcode);
     534
     535
     536SynthZeroPoints *SynthZeroPointsLoad (char *filename);
     537
     538int relphot_synthphot (int hostID, char *hostpath);
     539int relphot_synthphot_parallel (SkyList *sky);
     540
     541int relphot_synthphot_catalog (Catalog *catalog, SynthZeroPoints *zpts);
     542int relphot_synthphot_average (Average *average, SecFilt *secfilt, Measure *measure, SynthZeroPoints *zpts);
Note: See TracChangeset for help on using the changeset viewer.