IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15263


Ignore:
Timestamp:
Oct 9, 2007, 11:52:15 AM (19 years ago)
Author:
Paul Price
Message:

Meant u,v and not x,y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.c

    r15251 r15263  
    523523        for (int v = -size; v <= size; v++) {
    524524            for (int u = -size; u <= size; u++) {
    525                 float z = (PS_SQR(x + xStamp) + PS_SQR(y + yStamp)) / (2.0 * PS_SQR(sigma));
     525                float z = (PS_SQR(u + xStamp) + PS_SQR(v + yStamp)) / (2.0 * PS_SQR(sigma));
    526526                input->kernel[v][u] = flux / sigma * 0.5 * M_2_SQRTPI * M_SQRT1_2 / (1.0 + z + PS_SQR(z));
    527527            }
Note: See TracChangeset for help on using the changeset viewer.