IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4700


Ignore:
Timestamp:
Aug 3, 2005, 3:37:44 PM (21 years ago)
Author:
Paul Price
Message:

Weighting by the radius.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/src/poisCheckKernel.c

    r4699 r4700  
    3434        if (radii->data.F32[index] != distance) {
    3535            psTrace("pois.checkKernel", 7, "Radius: %f\tMean: %f\n", distance, sum/(float)num);
    36             if (fabs(sum/(float)num) > radKernel->data.F32[centreIndex]) {
     36            if (fabs(distance*sum/(float)num) > radKernel->data.F32[centreIndex]) {
    3737                numSuspect++;
    3838            }
     
    4545    }
    4646    psTrace("pois.checkKernel", 7, "Radius: %f\tMean: %f\n", distance, sum/(float)num);
    47     if (fabs(sum/(float)num) > radKernel->data.F32[centreIndex]) {
     47    if (fabs(distance*sum/(float)num) > radKernel->data.F32[centreIndex]) {
    4848        numSuspect++;
    4949    }
Note: See TracChangeset for help on using the changeset viewer.