IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14548


Ignore:
Timestamp:
Aug 20, 2007, 8:28:34 AM (19 years ago)
Author:
Paul Price
Message:

Adding algorithm details for data-based kernel selection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/TO_DO

    r14508 r14548  
    118118multiple direction cuts to ensure the full range of required Gaussian
    119119widths is obtained.
     120
     121Fitting the normalisation of a single kernel component, k(u) and the
     122background, we obtain the least-squares matrix and vector:
     123
     124M = ( sum_x C(x)^2/sigma(x)^2    sum_x C(x)/sigma(x)^2 )
     125    ( sum_x C(x)/sigma(x)^2      sum_x 1/sigma(x)^2    )
     126
     127v = ( sum_x I(x)C(x)/sigma(x)^2   sum_x I(x)/sigma(x)^2 )
     128
     129where C(x) = R(x) * k(u)
     130
     131Inverting the matrix, multiplying by the vector and taking the
     132component corresponding to the kernel normalisation, we get:
     133
     134f = (ab - cd) / (ae - c^2)
     135
     136where
     137
     138a = sum_x 1/sigma(x)^2
     139b = sum_x I(x)C(x)/sigma(x)^2
     140c = sum_x C(x)/sigma(x)^2
     141d = sum_x I(x)/simga(x)^2
     142e = sum_x C(x)^2/sigma(x)^2
     143
     144Note that a and d are independent of the kernel, and so may be
     145measured once only.  Note that we are ignoring any spatial variation
     146of the kernel here --- we are only interested in which kernel
     147components should be in the final solution, not the details of that
     148solution.
     149
     150Assuming that the kernel components are normalised, the kernel
     151component normalisation, f, is a measure of how important that kernel
     152component is in the final solution of the full problem.  The following
     153algorithm is suggested:
     154
     155(a) For each original kernel component, extract a vector at 0, 45 and
     156    90 degrees (x, y and x-y axes).  Ignore one of these sub-kernels
     157    in what follows if the standard deviation of the subkernel is
     158    zero.  We use these three extraction angles to cover the u, v and
     159    uv terms.
     160
     161(b) For each stamp, extract a vector at 0, 45, and 90 degrees (x, y,
     162    and x-y axes).  These sub-stamps go with the corresponding
     163    sub-kernel.
     164
     165(c) For each kernel component, measure b, c, e and therefore determine
     166    the kernel normalisation, f.  Use the sub-kernel appropriate for
     167    the sub-stamp (matched by extraction angle), and accumulate the
     168    values together (sub-kernels all contribute to the same original
     169    kernel component).
     170
     171(d) Take the kernel component with the largest |f| as the 'winner' of
     172    this iteration.  Apply this kernel to the sub-stamps for R(x), and
     173    mark this kernel component in the list.  It is part of the end
     174    solution, but should not be used any more in the iteration.
     175
     176(e) Repeat from step (c) until the largest |f| is small, say 10^-3 of
     177    the first obtained value of |f|.
Note: See TracChangeset for help on using the changeset viewer.