deleted and moved .py files

This commit is contained in:
Roger Labbe
2014-09-01 19:52:29 -07:00
parent 42d4ace9d1
commit d77c63e87a
13 changed files with 0 additions and 30 deletions

13
exp/noise.py Normal file
View File

@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
"""
Created on Fri May 2 10:28:27 2014
@author: rlabbe
"""
import numpy.random
def white_noise (sigma2=1.):
return sigma2 * numpy.random.randn()
if __name__ == "__main__":
assert white_noise(.0) == 0.