pysteps.noise.motion.generate_bps#
- pysteps.noise.motion.generate_bps(perturbator, t)#
Generate a motion perturbation field by using the method described in [BPS06].
- Parameters:
perturbator (dict) – A dictionary returned by initialize_motion_perturbations_bps.
t (float) – Lead time for the perturbation field (minutes).
- Returns:
out – Array of shape (2,m,n) containing the x- and y-components of the motion vector perturbations, where m and n are determined from the perturbator.
- Return type:
ndarray
See also