atomistics.workflows.quasiharmonic.QuasiHarmonicThermalProperties#
- class atomistics.workflows.quasiharmonic.QuasiHarmonicThermalProperties(temperatures: ndarray, thermal_properties_dict: dict, strain_lst: ndarray, volumes_lst: ndarray, volumes_selected_lst: ndarray)[source]#
Bases:
object- __init__(temperatures: ndarray, thermal_properties_dict: dict, strain_lst: ndarray, volumes_lst: ndarray, volumes_selected_lst: ndarray)[source]#
Initialize the QuasiHarmonicThermalProperties object.
- Parameters:
temperatures (np.ndarray) – Array of temperatures.
thermal_properties_dict (dict) – Dictionary of thermal properties.
strain_lst (np.ndarray) – Array of strains.
volumes_lst (np.ndarray) – Array of volumes.
volumes_selected_lst (np.ndarray) – Array of selected volumes.
Methods
__init__(temperatures, ...)Initialize the QuasiHarmonicThermalProperties object.
entropy()Get the entropy.
Get the free energy.
get_property(thermal_property)Get the specified thermal property.
Get the heat capacity.
Get the array of temperatures.
volumes()Get the array of volumes.
- free_energy() ndarray[source]#
Get the free energy.
- Returns:
Array of free energies.
- Return type:
np.ndarray
- get_property(thermal_property: str) ndarray[source]#
Get the specified thermal property.
- Parameters:
thermal_property (str) – The thermal property to retrieve.
- Returns:
Array of the specified thermal property.
- Return type:
np.ndarray
- heat_capacity() ndarray[source]#
Get the heat capacity.
- Returns:
Array of heat capacities.
- Return type:
np.ndarray