upxo.pxtalops.Characterizer module

class upxo.pxtalops.Characterizer.mcgs_mchar_2d(xgr=None, ygr=None, mcstates=None)[source]

Bases: object

Root1: ..srcupxoscriptsMCGS2d_characterization

Example-1

This example:
  1. builds a synthetic 2D grain structure

  2. extracts subsets from a temporal slice

  3. characterizes the grain structure subsets

Refer to Root1subset_characterization_1.py

xgr
ygr
set_fmat(fmat, fmin, fmax)[source]

Set or update fmat.

make_fmat_subsets(hsize=None, vsize=None)[source]

Build and return fmat subsets.

find_grains(library='skimage', fmat=None, kernel_order=2)[source]

Find grains.

characterize_all_subsets(fmats)[source]

Characterize all subsets.

characterize_subsets(fmats, alongh, alongv)[source]

Characterize subsets.

fmat
fmin
fmax
lgi
ngrains