[2205.03078] Probabilistic learning constrained by realizations using a weak formulation of Fourier transform of probability measures