pypsbuilder.psclasses.UniLine
- class pypsbuilder.psclasses.UniLine(**kwargs)
Bases:
PseudoBase
Class to store univariant line
- id
Invariant point identification
- Type:
int
- phases
set of present phases
- Type:
set
- out
set of zero mode phase
- Type:
set
- cmd
THERMOCALC standard input to calculate this point
- Type:
str
- variance
variance
- Type:
int
- _x
Array of x coordinates (all calculated)
- Type:
numpy.array
- _y
Array of x coordinates (all calculated)
- Type:
numpy.array
- results
List of results dicts with data and ptgues keys.
- Type:
list
- output
Full THERMOCALC output
- Type:
str
- manual
True when inavariant point is user-defined and not calculated
- Type:
bool
- begin
id of invariant point defining begining of the line. 0 for no begin
- Type:
int
- end
id of invariant point defining end of the line. 0 for no end
- Type:
int
- used
slice indicating which point on calculated line are between begin and end
- Type:
slice
- __init__(**kwargs)
Methods
__init__
(**kwargs)annotation
([state])str: String representation of ID with possible zermo mode phase.
contains_inv
(ip)Check whether invariant point theoretically belong to univariant line.
datakeys
([phase])list: Get list of variables for phase.
Returns coordinate tuple of labeling point for univariant line.
label
([excess])str: full label with space delimeted phases - zero mode phase.
ptguess
(**kwargs)list: Get stored ptguesses.
shape
([ratio, tolerance])Return shapely LineString representing univariant line.
Attributes
connected
midix