Add RMS computation
This commit is contained in:
@@ -5,7 +5,9 @@ from matplotlib import pyplot as plt
|
||||
def randomGaussianImage(scale, size):
|
||||
return np.random.normal(loc = 0, scale = scale, size = size)
|
||||
|
||||
def showImageWithMatplotlib(npArray):
|
||||
def showImageWithMatplotlib(npArray, title = None):
|
||||
if title is not None:
|
||||
plt.title(title)
|
||||
plt.imshow(npArray)
|
||||
plt.show()
|
||||
|
||||
|
Reference in New Issue
Block a user