how are temporal patterns encoded?