Computes the centered moving average of size span on the data.
Parameters: | data : array-like
span : int
|
---|---|
Returns: | A (subclass of) MaskedArray. : Noting ``k=span//2``, the ``k`` first and ``k`` last data are always masked. : If ``data`` has a missing value at position ``i``, then the result has : missing values in the interval ``[i-k:i+k+1]``. : |