deleted and moved .py files
This commit is contained in:
13
exp/noise.py
Normal file
13
exp/noise.py
Normal 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.
|
||||
Reference in New Issue
Block a user