local_contrast_2D_plot¶
- pyspeckle.pyspeckle.local_contrast_2D_plot(x, kernel)[source]¶
Create a graph showing local and global spatial contrast.
The kernel is an N x N array that describes the region over which contrast should be calculated. For example, np.ones((5,5)) would represent a 5x5 square.
- Parameters
x – speckle pattern for which contrast is to be calculated
kernel – small region over which contrast is to be calculated
- Returns
nothing