libcasm.composition#
CASM composition axes, conversions, and calculations
Functions
Get the name of the occupant species on a particular site |
|
Find independent chemical subsystems |
|
Return the species fraction space as a column vector matrix |
|
Make end member compositions |
|
Make the exchange chemical potential matrix |
|
Normalize compositions so that one unit along a parametric composition axis corresponds to a change of one site per unit cell in the occupation. |
|
Return the null space of the species fraction space as a column vector matrix |
|
Make standard composition axes for a set of components |
|
Make the possible standard choices of origin and end member compositions |
|
Pretty-print JSON to string. |
|
Print a formatted summary of the composition formulas for a particular choice of axes |
|
Print a formatted summary of several composition axes |
|
Set by name the species on a particular site |
Classes
Calculate composition from occupation vectors |
|
Convert between number of species per unit cell and parametric composition |
|
Calculate formation energies given a choice of reference states. |