XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


colsmooth (colsmooth-1.9.1) [xmmsas_20230412_1735-21.0.0]

Masking.

It may be desirable to avoid smoothing some parts of the input column $x$, for example if some values of $x$ are nulls. The mask can be supplied via two different methods, governed by the parameter masktype, namely:

Note that the default setting of masktype is `none', with obvious effects.

The effect of the mask is to enable smoothing only where the mask is true. Specifically, equation 1 should be re-written as

  $\displaystyle
y_{i} = \frac{\sum_{j=-M}^{M} F_{i,j}}{\sum_{j=-M}^{M} G_{i,j}} \textrm{ where mask value $m_{i}$\ is true, $= null$\ elsewhere.}
$ (4)

Equation 3 needs to be similarly altered. The value $null$ is a null value written by use of (and therefore recognized by) the appropriate dal calls.



Subsections
XMM-Newton SOC -- 2023-04-16