ergodic source