next up previous contents
Next: Running Kvis Up: Data flow and processing Previous: Dewarping   Contents

Time and spectral averaging

Kvis combines groups of samples into frames (as configured, Sec. 3.1). The samples are filtered through a buffer to eliminate the data immediately before a transition from lock to semi-lock in the fringe tracker. The size of this buffer is set by lockBufferSize in config.params (Sec. 3.2) and corresponds to the averaging used by the fringe tracker when determining the lock state. Each good sample is dewarped and the bias corrections are applied. For the wide-band channel, an average phase is calculated for the frame. Coherent estimators for each frame are produced for each channel by derotating the fringe quadratures with respect to the WB average phase ($ \phi_{{WB}}^{}$). For the spectrometer channels, $ \phi_{{WB}}^{}$ is scaled by the ratio of the WB and channel wavelengths.

$\displaystyle \hat{{X_i\,}}_{{coh}}^{}$ = $\displaystyle \langle$$\displaystyle \hat{{X_i}}$cos($\displaystyle \phi_{{WB}}^{}$$\displaystyle \lambda_{{WB}}^{}$/$\displaystyle \lambda_{i}^{}$) - $\displaystyle \hat{{Y_i}}$sin($\displaystyle \phi_{{WB}}^{}$$\displaystyle \lambda_{{WB}}^{}$/$\displaystyle \lambda_{i}^{}$)$\displaystyle \rangle$  
$\displaystyle \hat{{Y_i\,}}_{{coh}}^{}$ = $\displaystyle \langle$$\displaystyle \hat{{X_i}}$sin($\displaystyle \phi_{{WB}}^{}$$\displaystyle \lambda_{{WB}}^{}$/$\displaystyle \lambda_{i}^{}$) + $\displaystyle \hat{{Y_i}}$cos($\displaystyle \phi_{{WB}}^{}$$\displaystyle \lambda_{{WB}}^{}$/$\displaystyle \lambda_{i}^{}$)$\displaystyle \rangle$. (13)

The coherent value for NUM is given by

NUMC = ($\displaystyle \hat{{X_i\,}}_{{coh}}^{}$)2 + ($\displaystyle \hat{{X_i\,}}_{{coh}}^{}$)2 - (k$\displaystyle \hat{{N}}$ + Brn)/Nsamps (14)
where Nsamps is the number of samples in the frame and the incoherent value by

NUMI = $\displaystyle \langle$$\displaystyle \widehat{{NUM}}$$\displaystyle \rangle$, (15)
where the average is calculated from the sample values.

In combining frames to form a block the values of NUMI, NUMC and N are simply averaged. The coherent and incoherent values of V2 for each channel are given by equation 5. The spectral line channels are combined to form a composite spectrometer visibility

V2spec = $\displaystyle {\frac{{\sum_i V^2_i W_i}}{{\sum_i W_i}}}$ (16)
where the weights Wi are set by the user (Sec. 3.1).


next up previous contents
Next: Running Kvis Up: Data flow and processing Previous: Dewarping   Contents
RACHEL L AKESON 2004-11-29