IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4376


Ignore:
Timestamp:
Jun 24, 2005, 5:40:15 AM (21 years ago)
Author:
eugene
Message:

working on find_defects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/find_defects_new.c

    r4251 r4376  
    99  // measure
    1010
     11  // 3pt second moment (assume sky?)
     12
     13  // S0 = x[-1] + x[0] + x[1]
     14  // S0 = sum (f - sky)
     15  // S1 = sum (f - sky)*(x - x[0])
     16  // S2 = sum (f - sky)*(x - x[0])^2
     17 
     18  // S1 = df[1] - df[-1]
     19  // S2 = df[1]^2 + df[-1]^2
     20  // S0 = df[0] + df[1] + df[-1]
     21
     22  // x1 = S1/S0
     23  // sx = sqrt (S2/S0 - x1^2)
     24
    1125  return (true);
    1226}
Note: See TracChangeset for help on using the changeset viewer.