next up previous contents
Next: Channel weight of a Up: Non-aligned spectra Previous: Non-aligned spectra   Contents

Resampling

Let's consider the input spectrum $R$. We assume that the intensity $T_R$ at channel $i$ is a random variable which follows the normal distribution $N(\mu_R,{\sigma_R}^2)$. Its probability density function is:
\begin{displaymath}
\ensuremath{\mathrm{pdf}}_R(x) = \frac{1}{\sigma_R \sqrt{2 ...
...thrm{exp}} \left( - \frac{(x-\mu_R)^2}{2 {\sigma_R}^2} \right)
\end{displaymath} (8)

where $\mu_R$ is the mean and $\sigma_R$ the standard deviation. The variance of such a distribution is:
\begin{displaymath}
\ensuremath{\mathrm{var}}(T_R(i)) = {\sigma_R}(i)^2
\end{displaymath} (9)

Choosing a weight $w_R(i)$ of the following form:
\begin{displaymath}
w_R(i) = \frac{1}{{\sigma_R}(i)^2}
\end{displaymath} (10)

ensure that the weighted mean is the maximum likelihood estimator of the mean, under the assumption of independent (i.e. uncorrelated at first order) and normally distributed channel intensities with the same mean.

Let's call $R'$ the resampled version of $R$ such as it is aligned with the desired output spectrum $S$. The intensity of $R'$ at channel $i$ can be written (see fig. [*]):

\fbox{
\begin{minipage}[t]{12cm}
\textsf{Resampled channel intensity (all weight...
...{\ensuremath{\mathrm{max}}}} f_R(j) \times w_R(j)}
\end{equation}\end{minipage}}
where: We can also define the normalization factor $\beta$ and the weight $\alpha(j)$:
$\displaystyle \beta = \sum_{j=j_{\ensuremath{\mathrm{min}}}}^{j_{\ensuremath{\mathrm{max}}}} f_R(j) \times w_R(j)$     (11)
$\displaystyle \alpha_R(j) = \frac{f_R(j) \times w_R(j)}{\beta}$     (12)

The normalization factor $\beta$ ensures that the total integrated intensity is preserved during the resampling process. With these, $T_{R'}(i)$ can be written:
\begin{displaymath}
T_{R'}(i) = \sum_{j=j_{\ensuremath{\mathrm{min}}}}^{j_{\ensuremath{\mathrm{max}}}} \alpha_R(j) \times T_R(j)
\end{displaymath} (13)


next up previous contents
Next: Channel weight of a Up: Non-aligned spectra Previous: Non-aligned spectra   Contents
Gildas manager 2014-07-01