pyfibre.model.tools.filters module¶
-
pyfibre.model.tools.filters.derivatives(image, rank=1)[source]¶ Returns derivates of order “rank” for imput image at each pixel
-
pyfibre.model.tools.filters.form_nematic_tensor(dx_shg, dy_shg)[source]¶ Create local nematic tensor n for each pixel in dx_shg, dy_shg
- Parameters
- Returns
n_vector – Flattened 2x2 nematic vector for each pixel in dx_shg, dy_shg (n_xx, n_xy, n_yx, n_yy)
- Return type
array_like (float); shape(nframe, n_y, n_x, 2, 2)
-
pyfibre.model.tools.filters.form_structure_tensor(image)[source]¶ Create local structure tensor n for each pixel in image
-
pyfibre.model.tools.filters.gaussian(image, sigma=None)[source]¶ Perform gaussian smoothing on image using sigma standard deviation