IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28822


Ignore:
Timestamp:
Aug 1, 2010, 4:39:31 PM (16 years ago)
Author:
eugene
Message:

add more source flags and output fields for diff/input source matches

Location:
branches/eam_branches/ipp-20100621/psModules/src/objects
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSource.h

    r28781 r28822  
    6565    pmSourceType type;                  ///< Best identification of object.
    6666    pmSourceMode mode;                  ///< analysis flags set for object.
     67    pmSourceMode2 mode2;                ///< analysis flags set for object.
    6768    pmSourceTmpF tmpFlags;              ///< internal-only flags
    6869    psArray *blends;                    ///< collection of sources thought to be confused with object
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.c

    r27531 r28822  
    2929    diffStats->nRatioAll = NAN;
    3030    diffStats->nGood = 0;
     31
     32    diffStats->SNp = NAN;
     33    diffStats->SNm = NAN;
     34    diffStats->Rp = NAN;
     35    diffStats->Rm = NAN;
    3136}
    3237
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceDiffStats.h

    r27531 r28822  
    2929    float nRatioAll;                    // = nGood / (nGood + nMask + nBad)
    3030    int   nGood;                        // nGood as defined above
     31    float SNp;                          // S/N of matched source in positive image
     32    float SNm;                          // S/N of matched source in negative image
     33    float Rp;                           // radius of matched source in positive image
     34    float Rm;                           // radius of matched source in negative image
    3135} pmSourceDiffStats;
    3236
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceMasks.h

    r24694 r28822  
    3939} pmSourceMode;
    4040
     41// Bit flags to distinguish analysis results
     42// When adding to or subtracting from this list, please also modify pmSourceMaskHeader
     43typedef enum {
     44    PM_SOURCE_MODE2_DEFAULT          = 0x00000000, ///< Initial value: resets all bits
     45    PM_SOURCE_MODE2_DIFF_WITH_SINGLE = 0x00000001, ///< diff source matched to a single positive detection
     46    PM_SOURCE_MODE2_DIFF_WITH_DOUBLE = 0x00000002, ///< diff source matched to positive detections in both images
     47} pmSourceMode2;
    4148
    4249/// Populate header with mask values
Note: See TracChangeset for help on using the changeset viewer.