IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 25, 2015, 12:43:23 PM (11 years ago)
Author:
eugene
Message:

add mode option to dvo_secfilt_init (so chip, warp, stack can be reset independently); add HAS_TYCHO, FIX_SYNTH to secfilt flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150419/Ohana/src/libdvo/include/dvo.h

    r38293 r38318  
    4848} DVO_INT_NAN;
    4949
     50// init all data, or just catalog data
     51typedef enum {
     52  SECFILT_RESET_CHIP  = 0x01,
     53  SECFILT_RESET_WARP  = 0x02,
     54  SECFILT_RESET_STACK = 0x04,
     55  SECFILT_RESET_ALL   = 0x07,
     56} SecFiltInitMode;
     57 
    5058// max path length
    5159# define DVO_MAX_PATH 1024
     
    182190  ID_SECF_HAS_PS1       = 0x00000010, // PS1 photometry used in average measurement
    183191  ID_SECF_HAS_STACK     = 0x00000020, // PS1 stack photometry exists
    184   ID_PHOTOM_PASS_0      = 0x00000100, // average magnitude calculated in 0th pass
    185   ID_PHOTOM_PASS_1      = 0x00000200, // average magnitude calculated in 1th pass
    186   ID_PHOTOM_PASS_2      = 0x00000400, // average magnitude calculated in 2th pass
    187   ID_PHOTOM_PASS_3      = 0x00000800, // average magnitude calculated in 3th pass
    188   ID_PHOTOM_PASS_4      = 0x00001000, // average magnitude calculated in 4th pass
    189   ID_PSPS_OBJ_EXT       = 0x00002000, // In PSPS ID_SECF_OBJ_EXT is moved here so it fits within 16 bits
     192  ID_SECF_HAS_TYCHO     = 0x00000040, // Tycho photometry used for synth mags
     193  ID_SECF_FIX_SYNTH     = 0x00000080, // synth mags repaired with zpt map
     194  ID_SECF_RANK_0        = 0x00000100, // average magnitude uses rank 0 values
     195  ID_SECF_RANK_1        = 0x00000200, // average magnitude uses rank 1 values
     196  ID_SECF_RANK_2        = 0x00000400, // average magnitude uses rank 2 values
     197  ID_SECF_RANK_3        = 0x00000800, // average magnitude uses rank 3 values
     198  ID_SECF_RANK_4        = 0x00001000, // average magnitude uses rank 4 values
     199  ID_SECF_OBJ_EXT_PSPS  = 0x00002000, // In PSPS ID_SECF_OBJ_EXT is moved here so it fits within 16 bits
    190200  ID_SECF_STACK_PRIMARY = 0x00004000, // PS1 stack photometry comes from primary skycell
    191201  ID_SECF_OBJ_EXT       = 0x01000000, // extended in this band
     202
     203  ID_SECF_CHIP_FLAGS    = 0x01003f1f, // all chip-related bits (used to reset the correct bits only)
     204  ID_SECF_STACK_FLAGS   = 0x00004020, // all stack-related bits (
    192205} DVOSecfiltFlags;
    193206
     
    11041117void dvo_average_init (Average *average);
    11051118void dvo_averageT_init (AverageTiny *average);
    1106 void dvo_secfilt_init (SecFilt *secfilt);
     1119void dvo_secfilt_init (SecFilt *secfilt, SecFiltInitMode mode);
    11071120void dvo_measure_init (Measure *measure);
    11081121void dvo_measureT_init (MeasureTiny *measure);
Note: See TracChangeset for help on using the changeset viewer.