upxo.pxtal.img_essentials_01 module

class upxo.pxtal.img_essentials_01.part_cntr_CLS(connectivity: int)[source]

Bases: object

A class to store partitioning controls

connectivity: int
bstruct: any
class upxo.pxtal.img_essentials_01.ids_counts_CLS(f: str)[source]

Bases: object

Guidance to set-up the feature names. <<< Please restrict featuire names to only from below options: grain, subgrain,ptwin i.e. primary twin, stwin i.e. secondary twin, pag for prior austenitic grain, pck for packets in Martensitic steels (FMS), blk for blocks in FMS, sblk for sub blocks in FMS, l for laths in FMS >>>

f: str

Cells (C)

c: numpy.array
n_c: int
v_c: dict
nv_c: dict

CB

Type:

Cell boundaries

cb: numpy.array
n_cb: int
v_cb: dict
nv_cb: dict

CB segments (CBS)

cbs: dict
n_cbs: dict
v_cbs: dict
nv_cbs: dict

CBS edges (CBSE)

cbse: dict
n_cbse: dict
v_cbse: dict
nv_cbse: dict

CBSE points (CBSEP)

cbsep: dict
n_cbsep: dict
v_cbsep: dict
nv_cbsep: dict

CBSE inflection vert (CBSEV)

cbsev: dict
n_cbsev: dict
v_cbsev: dict
nv_cbsev: dict

CBSE junc. pnts (CBSEJ)

cbsej: dict
n_cbsej: dict
v_cbsej: dict
nv_cbsej: dict
class upxo.pxtal.img_essentials_01.ids_CLS[source]

Bases: object

A class store IDs of all features.

v: numpy.array
cbsG: numpy.array
cbseG: numpy.array
cbsejG: numpy.array
class upxo.pxtal.img_essentials_01.vox_CLS(l: float)[source]

Bases: object

A class to represent basic voxel details in the RVE. Attributes ====> l: float

Voxel edge length. Physical nuits: micro-meters

l: float
property vol: float

Voxel volume () in cubic micrometres.

class upxo.pxtal.img_essentials_01.rve_CLS(nx: int, ny: int, nz: int, vox: any)[source]

Bases: object

A class to represent base domain details. Attributes ====> nx, ny, nz: int

Number of voxzels along x, y, z.

nx: int
ny: int
nz: int
vox: any
n: int
vol: float
set_n() float[source]

Return total number of voxels (nx * ny * nz).

set_vol() float[source]

Return total domain volume in cubic micrometres.