added methods to sample the process as well as its spectrum