Changeset 14548
- Timestamp:
- Aug 20, 2007, 8:28:34 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/TO_DO (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/TO_DO
r14508 r14548 118 118 multiple direction cuts to ensure the full range of required Gaussian 119 119 widths is obtained. 120 121 Fitting the normalisation of a single kernel component, k(u) and the 122 background, we obtain the least-squares matrix and vector: 123 124 M = ( 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 127 v = ( sum_x I(x)C(x)/sigma(x)^2 sum_x I(x)/sigma(x)^2 ) 128 129 where C(x) = R(x) * k(u) 130 131 Inverting the matrix, multiplying by the vector and taking the 132 component corresponding to the kernel normalisation, we get: 133 134 f = (ab - cd) / (ae - c^2) 135 136 where 137 138 a = sum_x 1/sigma(x)^2 139 b = sum_x I(x)C(x)/sigma(x)^2 140 c = sum_x C(x)/sigma(x)^2 141 d = sum_x I(x)/simga(x)^2 142 e = sum_x C(x)^2/sigma(x)^2 143 144 Note that a and d are independent of the kernel, and so may be 145 measured once only. Note that we are ignoring any spatial variation 146 of the kernel here --- we are only interested in which kernel 147 components should be in the final solution, not the details of that 148 solution. 149 150 Assuming that the kernel components are normalised, the kernel 151 component normalisation, f, is a measure of how important that kernel 152 component is in the final solution of the full problem. The following 153 algorithm 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.
