pysteps.motion.constant.constant¶
-
pysteps.motion.constant.
constant
(R, **kwargs)¶ Compute a constant advection field by finding a translation vector that maximizes the correlation between two successive images.
Parameters: - R : array_like
Array of shape (T,m,n) containing a sequence of T two-dimensional input images of shape (m,n). If T > 2, two last elements along axis 0 are used.