surfinpy.data¶
- class surfinpy.data.DataSet(cation, x, y, energy, label, color=None, funits=0, file=None, area=None, nspecies=None, entropy=False, temp_range=False, zpe=False)[source]¶
Bases:
object
Object that contains information about a DFT calculation to be added to the phase diagram calculation. This object is used in both the surface and bulk phase diagram methods.
- Parameters
cation (
int
) – Number of cations in datasetx (
int
) – Number of species x in datasety (
int
) – Number of species y in datasetenergy (
float
) – DFT evaluated energy of reference datasetlabel (
str
) – Label of dataset to be used in phase diagramcolor (
string
) – Desired color of this phase in the phase diagramfunits (
int
) – Number of formula units in datasetfile (
str
) – yaml file containing vibrational frequenciesarea (
float
) – Surface area - required for surface calculationsnspecies (
int
) – Number of species that are constituent parts of the surface.entropy (
bool
) – Is entropy to be considered?temp_range (
list
) – Temperature range to calculate vibrational entropy acrosszpe (
bool
) – Is the zero point energy to be considered?
- class surfinpy.data.ReferenceDataSet(cation, anion, energy, funits, color=None, file=None, entropy=False, temp_range=None, zpe=False)[source]¶
Bases:
object
Object that contains information about the reference DFT calculation to be used in the phase diagram calculation. This object is used in both the surface and bulk phase diagram methods.
- Parameters
cation (
int
) – Number of cations in reference datasetanion (
int
) – Number of anions in reference datasetenergy (
float
) – DFT evaluated energy of reference datasetfunits (
int
) – Number of formula units in reference datasetcolor (
string
) – Desired color of this phase in the phase diagramfile (
str
):) – yaml file containing vibrational frequenciesentropy (
bool
) – Is entropy to be considered?temp_range (
list
) – Temperature range to calculate vibrational entropy acrosszpe (
bool
) – Is the zero point energy to be considered?