pypsbuilder.psclasses.InvPoint

class pypsbuilder.psclasses.InvPoint(**kwargs)

Bases: PseudoBase

Class to store invariant point

id

Invariant point identification

Type:

int

phases

set of present phases

Type:

set

out

set of zero mode phases

Type:

set

cmd

THERMOCALC standard input to calculate this point

Type:

str

variance

variance

Type:

int

x

Array of x coordinates (even if only one, it is stored as array)

Type:

numpy.array

y

Array of x coordinates (even if only one, it is stored as array)

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

__init__(**kwargs)

Methods

__init__(**kwargs)

all_unilines()

Return four tuples (phases, out) indicating possible four univariant lines passing trough this invariant point

annotation([state])

str: String representation of ID with possible zermo mode phase.

datakeys([phase])

list: Get list of variables for phase.

label([excess])

str: full label with space delimeted phases - zero mode phase.

ptguess(**kwargs)

list: Get stored ptguesses.

shape()

Return shapely Point representing invariant point.

Attributes

midix