upxo.dclasses.features module
Created on Thu Jun 27 08:06:19 2024
@author: Dr. Sunil Anandatheertha
- class upxo.dclasses.features.twingen(vf: float, tmin: float, tmean: float, tmax: float, tdis: str, tvalues: list, allow_partial: bool, partial_prob: float)[source]
Bases:
objectTwin-generation specification (volume fraction and thickness stats).
Dataclass of target twin volume fraction and thickness distribution controls used by 2D/3D twinning workflows. Thickness may follow a named distribution (
tdis) or an explicit user list (tvalues).Example
>>> from upxo.dclasses.features import twingen >>> tg = twingen(vf=0.2, tmin=0.2, tmean=0.5, tmax=1.0, ... tdis='user', tvalues=[0.2, 0.5, 1.0, 0.75], ... allow_partial=True, partial_prob=0.2)
- tmin, tmean, tmax
Thickness bounds / mean for the twin lamella distribution.
- Type: