IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2015, 10:26:20 PM (11 years ago)
Author:
eugene
Message:

merge changes from EAM branch ipp-20150419

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/include/dvo.h

    r38441 r38462  
    7272} DVO_INT_NAN;
    7373
     74// init all data, or just catalog data
     75typedef enum {
     76  SECFILT_RESET_CHIP  = 0x01,
     77  SECFILT_RESET_WARP  = 0x02,
     78  SECFILT_RESET_STACK = 0x04,
     79  SECFILT_RESET_ALL   = 0x07,
     80} SecFiltInitMode;
     81 
    7482// max path length
    7583# define DVO_MAX_PATH 1024
     
    126134  ID_MEAS_ICRF_QSO       = 0x00040000,  // this measurement is an ICRF reference position
    127135  ID_MEAS_IMAGE_EPOCH    = 0x00080000,  // this measurement is registered to the image epoch (not tied to ref catalog epoch)
     136  ID_MEAS_PHOTOM_PSF     = 0x00100000,  // this measurement is used for the mean psf mag
     137  ID_MEAS_PHOTOM_APER    = 0x00200000,  // this measurement is used for the mean ap mag
     138  ID_MEAS_PHOTOM_KRON    = 0x00400000,  // this measurement is used for the mean kron mag
    128139} DVOMeasureFlags;
    129140
     
    188199  ID_SECF_HAS_PS1       = 0x00000010, // PS1 photometry used in average measurement
    189200  ID_SECF_HAS_STACK     = 0x00000020, // PS1 stack photometry exists
    190   ID_PHOTOM_PASS_0      = 0x00000100, // average magnitude calculated in 0th pass
    191   ID_PHOTOM_PASS_1      = 0x00000200, // average magnitude calculated in 1th pass
    192   ID_PHOTOM_PASS_2      = 0x00000400, // average magnitude calculated in 2th pass
    193   ID_PHOTOM_PASS_3      = 0x00000800, // average magnitude calculated in 3th pass
    194   ID_PHOTOM_PASS_4      = 0x00001000, // average magnitude calculated in 4th pass
    195   ID_PSPS_OBJ_EXT       = 0x00002000, // In PSPS ID_SECF_OBJ_EXT is moved here so it fits within 16 bits
     201  ID_SECF_HAS_TYCHO     = 0x00000040, // Tycho photometry used for synth mags
     202  ID_SECF_FIX_SYNTH     = 0x00000080, // synth mags repaired with zpt map
     203  ID_SECF_RANK_0        = 0x00000100, // average magnitude uses rank 0 values
     204  ID_SECF_RANK_1        = 0x00000200, // average magnitude uses rank 1 values
     205  ID_SECF_RANK_2        = 0x00000400, // average magnitude uses rank 2 values
     206  ID_SECF_RANK_3        = 0x00000800, // average magnitude uses rank 3 values
     207  ID_SECF_RANK_4        = 0x00001000, // average magnitude uses rank 4 values
     208  ID_SECF_OBJ_EXT_PSPS  = 0x00002000, // In PSPS ID_SECF_OBJ_EXT is moved here so it fits within 16 bits
    196209  ID_SECF_STACK_PRIMARY = 0x00004000, // PS1 stack photometry comes from primary skycell
    197210  ID_SECF_OBJ_EXT       = 0x01000000, // extended in this band
     211
     212  ID_SECF_CHIP_FLAGS    = 0x01003f1f, // all chip-related bits (used to reset the correct bits only)
     213  ID_SECF_STACK_FLAGS   = 0x00004020, // all stack-related bits (
    198214} DVOSecfiltFlags;
    199215
     
    800816  off_t *found_t;
    801817  off_t *foundWarp_t;
     818
     819  char *measureRank;
    802820//  off_t *image_t;
    803821//  off_t *mosaic_t;
     
    11231141void dvo_average_init (Average *average);
    11241142void dvo_averageT_init (AverageTiny *average);
    1125 void dvo_secfilt_init (SecFilt *secfilt);
     1143void dvo_secfilt_init (SecFilt *secfilt, SecFiltInitMode mode);
    11261144void dvo_measure_init (Measure *measure);
    11271145void dvo_measureT_init (MeasureTiny *measure);
Note: See TracChangeset for help on using the changeset viewer.